diff options
author | 2020-07-25 17:19:49 +0800 | |
---|---|---|
committer | 2020-07-27 00:01:30 +1000 | |
commit | 19a551b254e6c308348a46a65332aa03c01767ed (patch) | |
tree | ce8beb8aff023392dee937a3685f60dbb14ba9a9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | powerpc/64s: allow for clang's objdump differences (diff) | |
download | wireguard-linux-19a551b254e6c308348a46a65332aa03c01767ed.tar.xz wireguard-linux-19a551b254e6c308348a46a65332aa03c01767ed.zip |
powerpc/papr_scm: Make some symbols static
The sparse tool complains as follows:
arch/powerpc/platforms/pseries/papr_scm.c:97:1: warning:
symbol 'papr_nd_regions' was not declared. Should it be static?
arch/powerpc/platforms/pseries/papr_scm.c:98:1: warning:
symbol 'papr_ndr_lock' was not declared. Should it be static?
Those variables are not used outside of papr_scm.c, so this
commit marks them static.
Fixes: 85343a8da2d9 ("powerpc/papr/scm: Add bad memory ranges to nvdimm bad ranges")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725091949.75234-1-weiyongjun1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions