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)
commit193e4cd8ed9dd01092d01df7706a6b344c946af4
tree58d934fa9ffe26867cce2993999ccc6cb002ee39
parent472724111f0f72042deb6a9dcee9578e5398a1a1
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