Re: [PATCH -next] security: Make capability_hooks static

From: James Morris
Date: Tue Jun 11 2019 - 17:49:01 EST


On Tue, 11 Jun 2019, YueHaibing wrote:

> Fix sparse warning:
>
> security/commoncap.c:1347:27: warning:
> symbol 'capability_hooks' was not declared. Should it be static?
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> security/commoncap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-lsm

--
James Morris
<jmorris@xxxxxxxxx>