[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 09 Sep 2016 12:22:07 -0700
From: Eric Anholt <eric@...olt.net>
To: Baoyou Xie <baoyou.xie@...aro.org>, airlied@...ux.ie
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
arnd@...db.de, baoyou.xie@...aro.org, xie.baoyou@....com.cn
Subject: Re: [PATCH] drm/vc4: mark vc4_bo_cache_purge() static
Baoyou Xie <baoyou.xie@...aro.org> 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@...aro.org>
Applied to -fixes. Thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (801 bytes)
Powered by blists - more mailing lists