2015-07-15 10:25:45

by Masanari Iida

[permalink] [raw]
Subject: [PATCH] drm: Fix warning with make xmldocs caused by drm_irq.c

This patch fix following warnings.

Warning(.//drivers/gpu/drm/drm_irq.c:1279): No description
found for parameter drm_crtc'
Warning(.//drivers/gpu/drm/drm_irq.c:1279): Excess function
parameter 'crtc' description in 'drm_crtc_vblank_reset'

Signed-off-by: Masanari Iida <[email protected]>
---
drivers/gpu/drm/drm_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c
index f9cc68f..9fd784b 100644
--- a/drivers/gpu/drm/drm_irq.c
+++ b/drivers/gpu/drm/drm_irq.c
@@ -1267,7 +1267,7 @@ EXPORT_SYMBOL(drm_crtc_vblank_off);

/**
* drm_crtc_vblank_reset - reset vblank state to off on a CRTC
- * @crtc: CRTC in question
+ * @drm_crtc: CRTC in question
*
* Drivers can use this function to reset the vblank state to off at load time.
* Drivers should use this together with the drm_crtc_vblank_off() and
--
2.5.0.rc2.13.g961abca


2015-07-15 12:16:37

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drm: Fix warning with make xmldocs caused by drm_irq.c

On Wed, Jul 15, 2015 at 07:25:42PM +0900, Masanari Iida wrote:
> This patch fix following warnings.
>
> Warning(.//drivers/gpu/drm/drm_irq.c:1279): No description
> found for parameter drm_crtc'
> Warning(.//drivers/gpu/drm/drm_irq.c:1279): Excess function
> parameter 'crtc' description in 'drm_crtc_vblank_reset'
>
> Signed-off-by: Masanari Iida <[email protected]>

Applied to drm-misc, thanks.
-Daniel

> ---
> drivers/gpu/drm/drm_irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c
> index f9cc68f..9fd784b 100644
> --- a/drivers/gpu/drm/drm_irq.c
> +++ b/drivers/gpu/drm/drm_irq.c
> @@ -1267,7 +1267,7 @@ EXPORT_SYMBOL(drm_crtc_vblank_off);
>
> /**
> * drm_crtc_vblank_reset - reset vblank state to off on a CRTC
> - * @crtc: CRTC in question
> + * @drm_crtc: CRTC in question
> *
> * Drivers can use this function to reset the vblank state to off at load time.
> * Drivers should use this together with the drm_crtc_vblank_off() and
> --
> 2.5.0.rc2.13.g961abca
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

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