scftorture: Make symbol 'scf_torture_rand' static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 2 Jul 2020 16:56:50 +0000 (09:56 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:38:36 +0000 (18:38 -0700)
commit9a52a574676f8d4aa55f69319231ce6c343b00bb
tree0274724dc2bbe10615fc71bef689c3c2de9c07f9
parentee7035d29576dcb59b1191e5f609517cacab1e56
scftorture: Make symbol 'scf_torture_rand' static

The sparse tool complains as follows

kernel/scftorture.c:124:1: warning:
 symbol '__pcpu_scope_scf_torture_rand' was not declared. Should it be static?

And this per-CPU variable is not used outside of scftorture.c,
so this commit marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/scftorture.c