aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2020-07-25 09:19:49 +0000
committerMichael Ellerman <[email protected]>2020-07-26 14:01:30 +0000
commit19a551b254e6c308348a46a65332aa03c01767ed (patch)
treece8beb8aff023392dee937a3685f60dbb14ba9a9 /arch/powerpc/lib/code-patching.c
parentpowerpc/64s: allow for clang's objdump differences (diff)
downloadkernel-19a551b254e6c308348a46a65332aa03c01767ed.tar.gz
kernel-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 <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions