Skip to contentSkip to conversation

drivers: gpu: drm: dr_fb_cma_helper: Fix kerneldoc comments

PATCH In review Tamara Diaconita 2 participants 2 messages Mar 30, 2017 – Mar 31, 2017

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

PATCH 1/1 drivers: gpu: drm: dr_fb_cma_helper: Fix kerneldoc comments

Remove the description for the non-existing 'num_crtc' to fix the build warning: ./drivers/gpu/drm/drm_fb_cma_helper.c:557: warning:
Excess function parameter 'num_crtc' description in 'drm_fbdev_cma_init'.

---
 drivers/gpu/drm/drm_fb_cma_helper.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_fb_cma_helper.c +0 -1
index 596fabf..72aa32b 100644
@@ -547,7 +547,6 @@ EXPORT_SYMBOL_GPL(drm_fbdev_cma_init_with_funcs);
  * drm_fbdev_cma_init() - Allocate and initializes a drm_fbdev_cma struct
  * @dev: DRM device
  * @preferred_bpp: Preferred bits per pixel for the device
- * @num_crtc: Number of CRTCs
  * @max_conn_count: Maximum number of connectors
  *
  * Returns a newly allocated drm_fbdev_cma struct or a ERR_PTR.
Signature · 1 line
2.9.3
#1 lore raw
Quoted 6 lines · Tamara Diaconita

Remove the description for the non-existing 'num_crtc' to fix the build warning: ./drivers/gpu/drm/drm_fb_cma_helper.c:557: warning:
Excess function parameter 'num_crtc' description in 'drm_fbdev_cma_init'.

Not sure what this is generated against, but we've fixed this a while ago already. Thanks anyway.
-Daniel

Quoted 23 lines
---
 drivers/gpu/drm/drm_fb_cma_helper.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_fb_cma_helper.c +0 -1
index 596fabf..72aa32b 100644
@@ -547,7 +547,6 @@ EXPORT_SYMBOL_GPL(drm_fbdev_cma_init_with_funcs);
  * drm_fbdev_cma_init() - Allocate and initializes a drm_fbdev_cma struct
  * @dev: DRM device
  * @preferred_bpp: Preferred bits per pixel for the device
- * @num_crtc: Number of CRTCs
  * @max_conn_count: Maximum number of connectors
  *
  * Returns a newly allocated drm_fbdev_cma struct or a ERR_PTR.
Signature · 6 lines
2.9.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel