drm: correct function name drm_legacy_ctxbitmap_flush()
Subsystems (2)
PATCH 1/1 drm: correct function name drm_legacy_ctxbitmap_flush()
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 <[email protected]>
--- drivers/gpu/drm/drm_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_context.c +1 -1
@@ -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 *
Signature · 1 line
2.25.1
Thomas Zimmermann
maintainerHi
Am 13.05.21 um 09:19 schrieb Yang Yingliang:
Quoted 5 lines
Fix the following make W=1 kernel build warning:
drivers/gpu/drm/drm_context.c:136: warning: expecting prototype fordrm_ctxbitmap_flush(). Prototype was fordrm_legacy_ctxbitmap_flush()insteadSigned-off-by Yang Yingliang <[email protected]>
Added to drm-misc-next. Thanks!
Best regards
Thomas
drivers/gpu/drm/drm_context.c void drm_legacy_ctxbitmap_cleanup(struct drm_device
Quoted 9 lines
--- drivers/gpu/drm/drm_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/drm_context.c +0
-0@@ -124,7 +124,7 @@ void drm_legacy_ctxbitmap_cleanup(struct drm_device
* dev)
Quoted 9 lines
drivers/gpu/drm/drm_context.c +1
-1}/** -* 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 *
Signature · 6 lines
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