srcu: Make srcu_size_state_name static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Sat, 29 Jan 2022 03:45:02 +0000 (11:45 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 8 Feb 2022 19:12:33 +0000 (11:12 -0800)
commit9903af70f616d6d40bbd5ca61663a16309e77fd4
treed42f19c3ee8d56e0825cc962064b2fcc45870ff7
parentcf7385014590656888db644969c3ed118a9a1355
srcu: Make srcu_size_state_name static

This symbol is not used outside of srcutree.c, so this commit marks it static.

Doing so fixes the following sparse warning:

kernel/rcu/srcutree.c:1426:12: warning: symbol 'srcu_size_state_name'
was not declared. Should it be static?

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/srcutree.c