Re: [PATCH -next] selinux: Make selinux_kernfs_init_security static

2019-03-27 Thread Mukesh Ojha
On 3/22/2019 7:34 PM, Yue Haibing wrote: From: YueHaibing Fix sparse warning: security/selinux/hooks.c:3389:5: warning: symbol 'selinux_kernfs_init_security' was not declared. Should it be static? Signed-off-by: YueHaibing Reviewed-by: Mukesh Ojha -Mukesh --- security/selinux/hooks

Re: [PATCH -next] selinux: Make selinux_kernfs_init_security static

2019-03-22 Thread Paul Moore
On Fri, Mar 22, 2019 at 1:46 PM Ondrej Mosnacek wrote: > On Fri, Mar 22, 2019 at 3:04 PM Yue Haibing wrote: > > From: YueHaibing > > > > Fix sparse warning: > > > > security/selinux/hooks.c:3389:5: warning: > > symbol 'selinux_kernfs_init_security' was not declared. Should it be > > static? >

Re: [PATCH -next] selinux: Make selinux_kernfs_init_security static

2019-03-22 Thread Ondrej Mosnacek
On Fri, Mar 22, 2019 at 3:04 PM Yue Haibing wrote: > From: YueHaibing > > Fix sparse warning: > > security/selinux/hooks.c:3389:5: warning: > symbol 'selinux_kernfs_init_security' was not declared. Should it be static? > > Signed-off-by: YueHaibing Yup, another trivial mistake on my part... A

[PATCH -next] selinux: Make selinux_kernfs_init_security static

2019-03-22 Thread Yue Haibing
From: YueHaibing Fix sparse warning: security/selinux/hooks.c:3389:5: warning: symbol 'selinux_kernfs_init_security' was not declared. Should it be static? Signed-off-by: YueHaibing --- security/selinux/hooks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/