linux-stable/arch/powerpc
Arnd Bergmann 928b3ca4b1 powerpc/fsl-soc: hide unused const variable
[ Upstream commit 01acaf3aa7 ]

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: 305bcf2612 ("powerpc/fsl-soc: use CONFIG_EPAPR_PARAVIRT for hcalls")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240403080702.3509288-2-arnd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:49:35 +02:00
..
boot powerpc/fsl: Fix fsl,tmu-calibration to match the schema 2023-12-19 21:53:56 +11:00
configs Networking changes for 6.8. 2024-01-11 10:07:29 -08:00
crypto powerpc/crypto/chacha-p10: Fix failure on non Power10 2024-05-17 12:14:48 +02:00
include powerpc/pseries: make max polling consistent for longer H_CALLs 2024-05-17 12:14:35 +02:00
kernel powerpc/smp: Increase nr_cpu_ids to include the boot CPU 2024-04-03 15:32:05 +02:00
kexec Quite a lot of kexec work this time around. Many singleton patches in 2024-01-09 11:46:20 -08:00
kvm KVM: PPC: Book3S HV: Fix L2 guest reboot failure due to empty 'arch_compat' 2024-02-20 22:32:20 +11:00
lib powerpc: xor_vmx: Add '-mhard-float' to CFLAGS 2024-04-03 15:32:14 +02:00
math-emu
mm mm/treewide: replace pud_large() with pud_leaf() 2024-04-10 16:38:00 +02:00
net powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free] 2023-10-23 20:33:19 +11:00
perf powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks 2024-03-26 18:17:15 -04:00
platforms powerpc/pseries/iommu: LPAR panics during boot up with a frozen PE 2024-05-17 12:14:35 +02:00
purgatory
sysdev powerpc/fsl-soc: hide unused const variable 2024-05-30 09:49:35 +02:00
tools powerpc/tools: Pass -mabi=elfv2 to gcc-check-mprofile-kernel.sh 2023-10-20 17:46:33 +11:00
xmon TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
Kbuild
Kconfig powerpc fixes for 6.8 #2 2024-01-21 11:04:29 -08:00
Kconfig.debug powerpc/ps3: move udbg_shutdown_ps3gelic prototype 2023-11-21 12:06:50 +11:00
Makefile powerpc/Makefile: Auto detect cross compiler 2023-12-07 23:34:38 +11:00
Makefile.postlink kbuild: remove ARCH_POSTLINK from module builds 2023-10-28 21:10:08 +09:00