Re: [PATCH] drm/vc4: mark vc4_bo_cache_purge() static

From: Eric Anholt
Date: Fri Sep 09 2016 - 15:22:15 EST


Baoyou Xie <baoyou.xie@xxxxxxxxxx> writes:

> We get 1 warning when building kernel with W=1:
> drivers/gpu/drm/vc4/vc4_bo.c:147:6: warning: no previous prototype for 'vc4_bo_cache_purge' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>

Applied to -fixes. Thanks!

Attachment: signature.asc
Description: PGP signature