projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6f194
)
drm: correct function name drm_legacy_ctxbitmap_flush()
author
Yang Yingliang
<yangyingliang@huawei.com>
Thu, 13 May 2021 07:19:18 +0000
(15:19 +0800)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Sun, 16 May 2021 20:01:14 +0000
(22:01 +0200)
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>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210513071918.1728535-1-yangyingliang@huawei.com
drivers/gpu/drm/drm_context.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_context.c
b/drivers/gpu/drm/drm_context.c
index
54e3c51
..
c6e6a3e
100644
(file)
--- 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
*