diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-21 22:54:01 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-22 20:59:04 +1000 |
commit | 2e341f56a16a71f240c87ec69711aad0d95a704c (patch) | |
tree | ffd04e5fb7c61ebf16529c1bcffb65a93a80097f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 39352430aaa05fbe4ba710231c70b334513078f2 (diff) |
powerpc/fadump: Fix sparse warnings
Sparse says:
arch/powerpc/kernel/fadump.c:48:16: warning: symbol 'fadump_kobj' was not declared. Should it be static?
arch/powerpc/kernel/fadump.c:55:27: warning: symbol 'crash_mrange_info' was not declared. Should it be static?
arch/powerpc/kernel/fadump.c:61:27: warning: symbol 'reserved_mrange_info' was not declared. Should it be static?
arch/powerpc/kernel/fadump.c:83:12: warning: symbol 'fadump_cma_init' was not declared. Should it be static?
And indeed none of them are used outside this file, they can all be made
static. Also fadump_kobj needs to be moved inside the ifdef where it's
used.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210421125402.1955013-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions