Skip to contentSkip to conversation

drm/client: fix kernel-doc warning in drm_client.h

PATCH In review Randy Dunlap 2 participants 2 messages Jan 31, 2023 – Feb 1, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/client: fix kernel-doc warning in drm_client.h

scripts/kernel-doc complains about the comment for hotplug_failed, so fix it:

include/drm/drm_client.h:111: warning: Incorrect use of kernel-doc format: * @hotplug failed:

Fixes 6a9d5ad3af65 ("drm/client: Add hotplug_failed flag")
Cc Thomas Zimmermann <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 include/drm/drm_client.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_client.h +1 -1
diff -- a/include/drm/drm_client.h b/include/drm/drm_client.h
@@ -108,7 +108,7 @@ struct drm_client_dev {
 	struct drm_mode_set *modesets;
 
 	/**
-	 * @hotplug failed:
+	 * @hotplug_failed:
 	 *
 	 * Set by client hotplug helpers if the hotplugging failed
 	 * before. It is usually not tried again.
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am 31.01.23 um 02:21 schrieb Randy Dunlap:

Quoted 5 lines

scripts/kernel-doc complains about the comment for hotplug_failed, so fix it:

include/drm/drm_client.h:111: warning: Incorrect use of kernel-doc format: * @hotplug failed:

Quoted 9 lines
Fixes 6a9d5ad3af65 ("drm/client: Add hotplug_failed flag")
Cc Thomas Zimmermann <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>

I've added your patch to drm-misc-next-fixes.

Quoted 16 lines
---
  include/drm/drm_client.h |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/include/drm/drm_client.h b/include/drm/drm_client.h

include/drm/drm_client.h +1 -1
@@ -108,7 +108,7 @@ struct drm_client_dev {
  	struct drm_mode_set *modesets;
 
  	/**
-	 * @hotplug failed:
+	 * @hotplug_failed:
  	 *
  	 * Set by client hotplug helpers if the hotplugging failed
  	 * before. It is usually not tried again.
Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev