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

From: Daniel Vetter
Date: Fri Mar 31 2017 - 02:26:47 EST


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 <diaconita.tamara@xxxxxxxxx>

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
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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