2017-03-30 10:55:14

by Tamara Diaconita

[permalink] [raw]
Subject: [PATCH] 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'.

Signed-off-by: Tamara Diaconita <[email protected]>
---
drivers/gpu/drm/drm_fb_cma_helper.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c
index 596fabf..72aa32b 100644
--- a/drivers/gpu/drm/drm_fb_cma_helper.c
+++ b/drivers/gpu/drm/drm_fb_cma_helper.c
@@ -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.
--
2.9.3


2017-03-31 06:26:40

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drivers: gpu: drm: dr_fb_cma_helper: Fix kerneldoc comments

On Thu, Mar 30, 2017 at 01:55:07PM +0300, Tamara Diaconita wrote:
> 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'.
>
> Signed-off-by: Tamara Diaconita <[email protected]>

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

> ---
> drivers/gpu/drm/drm_fb_cma_helper.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c
> index 596fabf..72aa32b 100644
> --- a/drivers/gpu/drm/drm_fb_cma_helper.c
> +++ b/drivers/gpu/drm/drm_fb_cma_helper.c
> @@ -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.
> --
> 2.9.3
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch