lkml.org 
[lkml]   [2021]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] drm: correct function name drm_legacy_ctxbitmap_flush()
Date
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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-05-16 22:10    [W:0.049 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site