[PATCH] drm/scheduler: make unexported items static
Ben Dooks
ben.dooks at codethink.co.uk
Thu Oct 10 07:54:32 UTC 2019
On 09/10/2019 13:14, Ben Dooks wrote:
> The drm_sched_fence_ops_{scheduled,finished} are not exported
> from the file so make them static to avoid the following
> warnings from sparse:
>
> drivers/gpu/drm/scheduler/sched_fence.c:131:28: warning: symbol 'drm_sched_fence_ops_scheduled' was not declared. Should it be static?
> drivers/gpu/drm/scheduler/sched_fence.c:137:28: warning: symbol 'drm_sched_fence_ops_finished' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
If it is useful I can get these into a public git repo and send
a pull request.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
https://www.codethink.co.uk/privacy.html
More information about the dri-devel
mailing list