aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBixuan Cui <cuibixuan@huawei.com>2021-04-09 17:01:24 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-14 23:04:17 +1000
commitcc331eee03eadd750af1fb957d020b3f24e5e056 (patch)
tree4596d34c4c72afc5489e4cb9be63474eba2c59dd /tools/perf/scripts/python/bin
parentpowerpc/perf: Make symbol 'isa207_pmu_format_attr' static (diff)
downloadlinux-cc331eee03eadd750af1fb957d020b3f24e5e056.tar.gz
linux-cc331eee03eadd750af1fb957d020b3f24e5e056.zip
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 <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/20210409090124.59492-1-cuibixuan@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions