diff options
author | Bixuan Cui <[email protected]> | 2021-04-09 17:01:24 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-04-14 23:04:17 +1000 |
commit | cc331eee03eadd750af1fb957d020b3f24e5e056 (patch) | |
tree | 4596d34c4c72afc5489e4cb9be63474eba2c59dd /mm/debug.c | |
parent | 107dadb046178173dea18e0a78ff8ea3cc27c213 (diff) |
powerpc/perf/hv-24x7: Make some symbols static
The sparse tool complains as follows:
arch/powerpc/perf/hv-24x7.c:229:1: warning:
symbol '__pcpu_scope_hv_24x7_txn_flags' was not declared. Should it be static?
arch/powerpc/perf/hv-24x7.c:230:1: warning:
symbol '__pcpu_scope_hv_24x7_txn_err' was not declared. Should it be static?
arch/powerpc/perf/hv-24x7.c:236:1: warning:
symbol '__pcpu_scope_hv_24x7_hw' was not declared. Should it be static?
arch/powerpc/perf/hv-24x7.c:244:1: warning:
symbol '__pcpu_scope_hv_24x7_reqb' was not declared. Should it be static?
arch/powerpc/perf/hv-24x7.c:245:1: warning:
symbol '__pcpu_scope_hv_24x7_resb' was not declared. Should it be static?
This symbol is not used outside of hv-24x7.c, so this
commit marks it static.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Bixuan Cui <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions