]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Make symbol '__pcpu_scope_hcall_stats' static
authorBixuan Cui <cuibixuan@huawei.com>
Fri, 9 Apr 2021 09:01:09 +0000 (17:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:17 +0000 (23:04 +1000)
commitbde4d10607869baff564ddbadc3dab6f6c60c222
tree58d934fa9ffe26867cce2993999ccc6cb002ee39
parentf9ba1af46708617a5726b3503da39d4932daccd7
powerpc/pseries: Make symbol '__pcpu_scope_hcall_stats' static

The sparse tool complains as follows:

arch/powerpc/platforms/pseries/hvCall_inst.c:29:1: warning:
 symbol '__pcpu_scope_hcall_stats' was not declared. Should it be static?

This symbol is not used outside of hvCall_inst.c, so this
commit marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210409090109.59347-1-cuibixuan@huawei.com
arch/powerpc/platforms/pseries/hvCall_inst.c