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>
Thu, 24 Feb 2022 17:50:10 +0000 (09:50 -0800)
commit8179c440ce9203a330e25116f311a1c205e20b61
tree5f0bd5d68363ca1fcc3dc69c48115af1701c90a9
parent4404bd4f956dac9559cdbe6636a08a59ffe9cd45
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