diff options
author | 2020-07-02 09:56:50 -0700 | |
---|---|---|
committer | 2020-08-24 18:38:36 -0700 | |
commit | 9a52a574676f8d4aa55f69319231ce6c343b00bb (patch) | |
tree | 0274724dc2bbe10615fc71bef689c3c2de9c07f9 /drivers/usb/cdns3/cdns3-imx.c | |
parent | scftorture: Prevent compiler from reducing race probabilities (diff) | |
download | linux-dev-9a52a574676f8d4aa55f69319231ce6c343b00bb.tar.xz linux-dev-9a52a574676f8d4aa55f69319231ce6c343b00bb.zip |
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions