public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/bridge: fix kdoc syntax
@ 2025-12-31  8:22 Luca Ceresoli
  2026-01-21 13:12 ` Nicolas Frattaroli
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2025-12-31  8:22 UTC (permalink / raw)
  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, linux-kernel,
	kernel test robot, Luca Ceresoli

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:1519: ERROR: Unexpected indentation. [docutils]
  Documentation/gpu/drm-kms-helpers:197: ./drivers/gpu/drm/drm_bridge.c:1521: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202512302319.1PGGt3CN-lkp@intel.com/
Fixes: 9da0e06abda8 ("drm/bridge: deprecate of_drm_find_bridge()")
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 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-fb00c84c525a

Best regards,
-- 
Luca Ceresoli <luca.ceresoli@bootlin.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/bridge: fix kdoc syntax
  2025-12-31  8:22 [PATCH] drm/bridge: fix kdoc syntax Luca Ceresoli
@ 2026-01-21 13:12 ` Nicolas Frattaroli
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Frattaroli @ 2026-01-21 13:12 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Luca Ceresoli,
	Luca Ceresoli
  Cc: Hui Pu, Thomas Petazzoni, dri-devel, linux-kernel,
	kernel test robot

On Wednesday, 31 December 2025 09:22:47 Central European Standard Time Luca Ceresoli wrote:
> 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:1519: ERROR: Unexpected indentation. [docutils]
>   Documentation/gpu/drm-kms-helpers:197: ./drivers/gpu/drm/drm_bridge.c:1521: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202512302319.1PGGt3CN-lkp@intel.com/
> Fixes: 9da0e06abda8 ("drm/bridge: deprecate of_drm_find_bridge()")
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
> ---
>  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-fb00c84c525a
> 
> Best regards,
> 

Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-21 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-31  8:22 [PATCH] drm/bridge: fix kdoc syntax Luca Ceresoli
2026-01-21 13:12 ` Nicolas Frattaroli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox