summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-03 13:05:27 +0800
committerPaul E. McKenney <paulmck@kernel.org>2020-08-24 18:45:32 -0700
commitd49bed9abc3454bd123cbe974ecbeae119701b92 (patch)
tree269b777f559b76b00ca7d1bba316a6e576068c8d /tools
parentfbb9f8531a0d6693189783d295114db4c30624ca (diff)
downloadlinux-d49bed9abc3454bd123cbe974ecbeae119701b92.tar.gz
linux-d49bed9abc3454bd123cbe974ecbeae119701b92.tar.bz2
linux-d49bed9abc3454bd123cbe974ecbeae119701b92.zip
locktorture: Make function torture_percpu_rwsem_init() static
The sparse tool complains as follows: kernel/locking/locktorture.c:569:6: warning: symbol 'torture_percpu_rwsem_init' was not declared. Should it be static? And this function is not used outside of locktorture.c, so this commit marks it static. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions