Re: [PATCH -next] smp: Make symbol 'csd_bug_count' static

2020-07-06 Thread Paul E. McKenney
On Mon, Jul 06, 2020 at 09:49:41PM +0800, Wei Yongjun wrote: > The sparse tool complains as follows > > kernel/smp.c:107:10: warning: > symbol 'csd_bug_count' was not declared. Should it be static? > > This variable is not used outside of smp.c, s this commit marks > it static. > > Reported-by:

[PATCH -next] smp: Make symbol 'csd_bug_count' static

2020-07-06 Thread Wei Yongjun
The sparse tool complains as follows kernel/smp.c:107:10: warning: symbol 'csd_bug_count' was not declared. Should it be static? This variable is not used outside of smp.c, s this commit marks it static. Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- kernel/smp.c | 2 +- 1 file chang