diff mbox series

[30/34] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format

Message ID 20210526084726.552052-31-lee.jones@linaro.org
State Accepted
Commit 4a888ba03fd97d1cb0253581973533965bf348c4
Headers show
Series Rid W=1 warnings from GPU | expand

Commit Message

Lee Jones May 26, 2021, 8:47 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/vgem/vgem_drv.c:47: warning: expecting prototype for This is vgem, a (non-hardware(). Prototype was for DRIVER_NAME() instead

Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/gpu/drm/vgem/vgem_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1

Comments

Daniel Vetter May 26, 2021, 1:10 p.m. UTC | #1
On Wed, May 26, 2021 at 09:47:22AM +0100, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):

> 

>  drivers/gpu/drm/vgem/vgem_drv.c:47: warning: expecting prototype for This is vgem, a (non-hardware(). Prototype was for DRIVER_NAME() instead

> 

> Cc: David Airlie <airlied@linux.ie>

> Cc: Daniel Vetter <daniel@ffwll.ch>

> Cc: Sumit Semwal <sumit.semwal@linaro.org>

> Cc: "Christian König" <christian.koenig@amd.com>

> Cc: Adam Jackson <ajax@redhat.com>

> Cc: Ben Widawsky <ben@bwidawsk.net>

> Cc: dri-devel@lists.freedesktop.org

> Cc: linux-media@vger.kernel.org

> Cc: linaro-mm-sig@lists.linaro.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>


Merged this one to drm-misc-next, thanks!
-Daniel
> ---

>  drivers/gpu/drm/vgem/vgem_drv.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c

> index a0e75f1d5d016..bf38a7e319d14 100644

> --- a/drivers/gpu/drm/vgem/vgem_drv.c

> +++ b/drivers/gpu/drm/vgem/vgem_drv.c

> @@ -25,7 +25,7 @@

>   *	Ben Widawsky <ben@bwidawsk.net>

>   */

>  

> -/**

> +/*

>   * This is vgem, a (non-hardware-backed) GEM service.  This is used by Mesa's

>   * software renderer and the X server for efficient buffer sharing.

>   */

> -- 

> 2.31.1

> 


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

Patch

diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c
index a0e75f1d5d016..bf38a7e319d14 100644
--- a/drivers/gpu/drm/vgem/vgem_drv.c
+++ b/drivers/gpu/drm/vgem/vgem_drv.c
@@ -25,7 +25,7 @@ 
  *	Ben Widawsky <ben@bwidawsk.net>
  */
 
-/**
+/*
  * This is vgem, a (non-hardware-backed) GEM service.  This is used by Mesa's
  * software renderer and the X server for efficient buffer sharing.
  */