Re: [PATCH] Yama: mark local symbols as static

2019-04-10 Thread James Morris
On Wed, 27 Mar 2019, Jann Horn wrote: > sparse complains that Yama defines functions and a variable as non-static > even though they don't exist in any header. Fix it by making them static. > > Signed-off-by: Jann Horn Applied to

Re: [PATCH] Yama: mark local symbols as static

2019-03-27 Thread Mukesh Ojha
On 3/27/2019 4:38 AM, Jann Horn wrote: sparse complains that Yama defines functions and a variable as non-static even though they don't exist in any header. Fix it by making them static. Signed-off-by: Jann Horn Reviewed-by: Mukesh Ojha --- security/yama/yama_lsm.c | 6 +++--- 1

[PATCH] Yama: mark local symbols as static

2019-03-26 Thread Jann Horn
sparse complains that Yama defines functions and a variable as non-static even though they don't exist in any header. Fix it by making them static. Signed-off-by: Jann Horn --- security/yama/yama_lsm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git