drm/atomic: make release_crtc_commit() static
Subsystems (2)
PATCH 1/1 drm/atomic: make release_crtc_commit() static
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/gpu/drm/drm_atomic_helper.c:1360:6: warning:
symbol 'release_crtc_commit' was not declared. Should it be static?
--- drivers/gpu/drm/drm_atomic_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_atomic_helper.c +1 -1
@@ -1357,7 +1357,7 @@ static int stall_checks(struct drm_crtc *crtc, bool nonblock)return ret <0 ? ret :0 ; } -void release_crtc_commit (struct completion *completion) +static void release_crtc_commit (struct completion *completion) { struct drm_crtc_commit *commit = container_of(completion, typeof(*commit),
Hi Wei,
2017-01-12 Wei Yongjun <[email protected]>:
Quoted 11 lines
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/gpu/drm/drm_atomic_helper.c:1360:6: warning:
symbol 'release_crtc_commit' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>--- drivers/gpu/drm/drm_atomic_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Gustavo
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Gustavo Padovan
Hi Wei,
2017-01-12 Wei Yongjun <[email protected]>:
Quoted 7 lines
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/gpu/drm/drm_atomic_helper.c:1360:6: warning:
symbol 'release_crtc_commit' was not declared. Should it be static?
Quoted 6 lines
Quoted 4 lines
Signed-off-by Wei Yongjun <[email protected]>--- drivers/gpu/drm/drm_atomic_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Gustavo Padovan <[email protected]>
Thanks for the patch, applied to drm-misc.
Gustavo, for next time around please just use your commit rights when reviewing a simple patch like this :-)
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch