Skip to contentSkip to conversation

drm: Fix for kernel doc warning

PATCH Applied R Sundar 2 participants 2 messages Oct 3, 2024 – Oct 9, 2024

Subsystems (2)
lore
Share & tools
lore

R Sundar

author
#0 lore raw

PATCH 1/1 drm: Fix for kernel doc warning

Added colon in kernel-doc comment to fix the warning.

./include/drm/drm_drv.h:372: warning: Incorrect use of kernel-doc format: * @fbdev_probe
./include/drm/drm_drv.h:435: warning: Function parameter or struct member 'fbdev_probe' not described in 'drm_driver'

---
 include/drm/drm_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_drv.h +1 -1
index 36a606af4ba1..1bbbcb8e2d23 100644
@@ -369,7 +369,7 @@ struct drm_driver {
 			       uint64_t *offset);
 
 	/**
-	 * @fbdev_probe
+	 * @fbdev_probe:
 	 *
 	 * Allocates and initialize the fb_info structure for fbdev emulation.
 	 * Furthermore it also needs to allocate the DRM framebuffer used to
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 6 lines · R Sundar

Added colon in kernel-doc comment to fix the warning.

./include/drm/drm_drv.h:372: warning: Incorrect use of kernel-doc format: * @fbdev_probe
./include/drm/drm_drv.h:435: warning: Function parameter or struct member 'fbdev_probe' not described in 'drm_driver'

Pushed to drm-misc-next, thanks for the patch.

BR,
Jani.

Quoted 17 lines
---
 include/drm/drm_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_drv.h +1 -1
index 36a606af4ba1..1bbbcb8e2d23 100644
@@ -369,7 +369,7 @@ struct drm_driver {
 			       uint64_t *offset);
 
 	/**
-	 * @fbdev_probe
+	 * @fbdev_probe:
 	 *
 	 * Allocates and initialize the fb_info structure for fbdev emulation.
 	 * Furthermore it also needs to allocate the DRM framebuffer used to
Signature · 1 line
Jani Nikula, Intel