diff options
| author | Wang Wensheng <[email protected]> | 2020-09-23 07:14:53 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-05-02 23:02:15 +1000 |
| commit | cacaeb0c23979d20652d862e8ff974d9d7244e2d (patch) | |
| tree | 597c3f813e2f16d712bff9e202975885a7b7ef33 /tools/perf/scripts/python | |
| parent | 634a0b8fb8826aa990df621a00158a052374b538 (diff) | |
powerpc/perf: Fix symbol undeclared warning
Build kernel with `C=2`:
arch/powerpc/perf/isa207-common.c:24:18: warning: symbol
'isa207_pmu_format_attr' was not declared. Should it be static?
arch/powerpc/perf/power9-pmu.c:101:5: warning: symbol 'p9_dd21_bl_ev'
was not declared. Should it be static?
arch/powerpc/perf/power9-pmu.c:115:5: warning: symbol 'p9_dd22_bl_ev'
was not declared. Should it be static?
Those symbols are used only in the files that define them so we declare
them as static to fix the warnings.
Signed-off-by: Wang Wensheng <[email protected]>
Reviewed-by: Athira Rajeev <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions