]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_lockup.c: make symbol 'test_works' static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 12 Aug 2020 01:34:41 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:59 +0000 (10:57 -0700)
commit4c85239d5a80a2324f2570d12f6724a53dfeba0a
tree99f50dccf6f980ea9eb8bf4605e38bd8b8010385
parent8e325bf688bc9ad8610ba5183b426bfb979e3083
lib/test_lockup.c: make symbol 'test_works' static

Fix sparse build warning:

lib/test_lockup.c:403:1: warning:
 symbol '__pcpu_scope_test_works' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200707112252.9047-1-weiyongjun1@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_lockup.c