linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] drm: correct function name drm_legacy_ctxbitmap_flush()
@ 2021-05-13  7:19 Yang Yingliang
  2021-05-16 20:09 ` Thomas Zimmermann
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2021-05-13  7:19 UTC (permalink / raw)
  To: linux-kernel, dri-devel; +Cc: airlied, daniel

Fix the following make W=1 kernel build warning:

  drivers/gpu/drm/drm_context.c:136: warning: expecting prototype for drm_ctxbitmap_flush(). Prototype was for drm_legacy_ctxbitmap_flush() instead

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/gpu/drm/drm_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c
index c99be950bf17..acbec1ddd583 100644
--- a/drivers/gpu/drm/drm_context.c
+++ b/drivers/gpu/drm/drm_context.c
@@ -124,7 +124,7 @@ void drm_legacy_ctxbitmap_cleanup(struct drm_device * dev)
 }
 
 /**
- * drm_ctxbitmap_flush() - Flush all contexts owned by a file
+ * drm_legacy_ctxbitmap_flush() - Flush all contexts owned by a file
  * @dev: DRM device to operate on
  * @file: Open file to flush contexts for
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] drm: correct function name drm_legacy_ctxbitmap_flush()
  2021-05-13  7:19 [PATCH -next] drm: correct function name drm_legacy_ctxbitmap_flush() Yang Yingliang
@ 2021-05-16 20:09 ` Thomas Zimmermann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Zimmermann @ 2021-05-16 20:09 UTC (permalink / raw)
  To: Yang Yingliang, linux-kernel, dri-devel; +Cc: airlied


[-- Attachment #1.1: Type: text/plain, Size: 1231 bytes --]

Hi

Am 13.05.21 um 09:19 schrieb Yang Yingliang:
> Fix the following make W=1 kernel build warning:
> 
>    drivers/gpu/drm/drm_context.c:136: warning: expecting prototype for drm_ctxbitmap_flush(). Prototype was for drm_legacy_ctxbitmap_flush() instead
> 
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>

Added to drm-misc-next. Thanks!

Best regards
Thomas

> ---
>   drivers/gpu/drm/drm_context.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c
> index c99be950bf17..acbec1ddd583 100644
> --- a/drivers/gpu/drm/drm_context.c
> +++ b/drivers/gpu/drm/drm_context.c
> @@ -124,7 +124,7 @@ void drm_legacy_ctxbitmap_cleanup(struct drm_device 
* dev)
>   }
>   
>   /**
> - * drm_ctxbitmap_flush() - Flush all contexts owned by a file
> + * drm_legacy_ctxbitmap_flush() - Flush all contexts owned by a file
>    * @dev: DRM device to operate on
>    * @file: Open file to flush contexts for
>    *
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-16 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13  7:19 [PATCH -next] drm: correct function name drm_legacy_ctxbitmap_flush() Yang Yingliang
2021-05-16 20:09 ` Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).