From nobody Mon Feb 9 15:36:10 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D71C22CBD9 for ; Wed, 31 Dec 2025 08:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767169407; cv=none; b=JOa7jLZ2RbIeCLzREtfJ3RaGNAB/1/VoRO78yit27nt4lsxoBG7V1XDkcyWkEO5SJ3s+WqloPfUfFhfN/GtSQdcxN+21TQrAxtX9cOYUaonKSMYiP447oowho8b+V7i+fl8E+Bo3zRdZyO8E4pJ2Na+2lVWs4GG1+9bGLG8s0FY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767169407; c=relaxed/simple; bh=7K9B5FpyIx+uJoKkrhjjpe260ZuE7BOA+0TG8QOQWjo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=nni2Arsa3em4H+ZZmPaVPEyy2ja63MV8IQSC0ZY9L+nJnGmmxFAJmVpLF/Oj6Cy7L7VPJ4/NX65GX7qDoG+ZxgAsRnq96w9Fi0hOjn60NlcBscG33UKLbibI5Wcm1VhB78eG/jXu+iAlLnI3gIKKwf4B0BsKq1AC1PR1TPrrDKs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=kgwuOlW/; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kgwuOlW/" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 89EEE1A255A; Wed, 31 Dec 2025 08:23:21 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 509DA60744; Wed, 31 Dec 2025 08:23:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2C3C1113B0755; Wed, 31 Dec 2025 09:23:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767169400; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding; bh=1dqztIL+mezY/FHub8je7fMGsqx1sFeebpYowobp0I8=; b=kgwuOlW/Lzw4AbF0zcDjTOQQw5KAy7sBZrQ+amITfd6S7Fb660Gme7sgr9keXr0RBZYpi9 qMMb/o2iClQW5c1X0ULOBlYBhvJFiOrGYJoSbG5LKC8IH6atY2sLW8WigaOZVMK9ZgJGBP Gl/MDr0M/nt2rE8ZxnRUyWrUkOifvCQrJV0kvwCfHsDBJz7oFzfqrwIGT9phCgIeOtU8lA IXKf3KfiZDgFCrtgKs9YjHgUUOreEM5yiVbUKqYDuAbC/leluRl8IJYoQeA3Jf4E9zwNCK FSU86ufezztAVh+vwNUAVy8n3YIFxuQN1NB8cplSKuzkicZAarGll8ezzNi5Ew== From: Luca Ceresoli Date: Wed, 31 Dec 2025 09:22:47 +0100 Subject: [PATCH] drm/bridge: fix kdoc syntax Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251231-drm-bridge-alloc-getput-drm_of_find_bridge-kdoc-fix-v1-1-193a03f0609c@bootlin.com> X-B4-Tracking: v=1; b=H4sIAFfdVGkC/y2NUQrCMBAFr1L224UkGhCvIhLSZFMXa1KSVgqld +8qfs4MvLdBo8rU4NZtUOnDjUsW0KcOwtPngZCjMBhlrDZnjbG+sa8cpfhxLAEHmqdl/npXkku co/v3V5SceMXUKxWul2CN9SDLUyXRv9f7Y98PCm6AZoUAAAA= X-Change-ID: 20251231-drm-bridge-alloc-getput-drm_of_find_bridge-kdoc-fix-fb00c84c525a To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: Hui Pu , Thomas Petazzoni , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel test robot , Luca Ceresoli X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Use the correct kdoc syntax for bullet list. Fixes kdoc error and warning: Documentation/gpu/drm-kms-helpers:197: ./drivers/gpu/drm/drm_bridge.c:151= 9: ERROR: Unexpected indentation. [docutils] Documentation/gpu/drm-kms-helpers:197: ./drivers/gpu/drm/drm_bridge.c:152= 1: WARNING: Block quote ends without a blank line; unexpected unindent. [do= cutils] Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202512302319.1PGGt3CN-lkp@int= el.com/ Fixes: 9da0e06abda8 ("drm/bridge: deprecate of_drm_find_bridge()") Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/drm_bridge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index 6dcf8f6d3ecf..3b165a0d1e77 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b/drivers/gpu/drm/drm_bridge.c @@ -1518,11 +1518,14 @@ EXPORT_SYMBOL(of_drm_find_and_get_bridge); * The bridge returned by this function is not refcounted. This is * dangerous because the bridge might be deallocated even before the caller * has a chance to use it. To use this function you have to do one of: + * * - get a reference with drm_bridge_get() as soon as possible to * minimize the race window, and then drm_bridge_put() when no longer * using the pointer + * * - not call drm_bridge_get() or drm_bridge_put() at all, which used to * be the correct practice before dynamic bridge lifetime was introduced + * * - again, convert to of_drm_find_and_get_bridge(), which is the only safe * thing to do * --- base-commit: 40630210211a34f0714fe976530ccf1291e5ef78 change-id: 20251231-drm-bridge-alloc-getput-drm_of_find_bridge-kdoc-fix-fb0= 0c84c525a Best regards, --=20 Luca Ceresoli