diff options
author | Arnd Bergmann <[email protected]> | 2024-04-03 10:06:19 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-04-03 21:23:23 +1100 |
commit | 01acaf3aa75e1641442cc23d8fe0a7bb4226efb1 (patch) | |
tree | e71cbb13d7b404b7409170f0e6b5122ede530272 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3e42e72796d8991fecad78d61a180e24a4853427 (diff) |
powerpc/fsl-soc: hide unused const variable
vmpic_msi_feature is only used conditionally, which triggers a rare
-Werror=unused-const-variable= warning with gcc:
arch/powerpc/sysdev/fsl_msi.c:567:37: error: 'vmpic_msi_feature' defined but not used [-Werror=unused-const-variable=]
567 | static const struct fsl_msi_feature vmpic_msi_feature =
Hide this one in the same #ifdef as the reference so we can turn on
the warning by default.
Fixes: 305bcf26128e ("powerpc/fsl-soc: use CONFIG_EPAPR_PARAVIRT for hcalls")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions