summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.ibm.com>2025-05-18 10:11:04 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-04 15:30:20 +0200
commite7d0bd359f4cdf2b0eb99cd9659ec809e2646141 (patch)
treefdd9a064c5da69803662e7372b8e78fc0f37f1f3 /drivers/hid
parent6de90c2a3b6cc35a6ef2ba334349ef076ceaf9b1 (diff)
downloadlinux-e7d0bd359f4cdf2b0eb99cd9659ec809e2646141.tar.gz
linux-e7d0bd359f4cdf2b0eb99cd9659ec809e2646141.tar.bz2
linux-e7d0bd359f4cdf2b0eb99cd9659ec809e2646141.zip
powerpc/kvm: Fix ifdef to remove build warning
[ Upstream commit 88688a2c8ac6c8036d983ad8b34ce191c46a10aa ] When compiling for pseries or powernv defconfig with "make C=1", these warning were reported bu sparse tool in powerpc/kernel/kvm.c arch/powerpc/kernel/kvm.c:635:9: warning: switch with no cases arch/powerpc/kernel/kvm.c:646:9: warning: switch with no cases Currently #ifdef were added after the switch case which are specific for BOOKE and PPC_BOOK3S_32. These are not enabled in pseries/powernv defconfig. Fix it by moving the #ifdef before switch(){} Fixes: cbe487fac7fc0 ("KVM: PPC: Add mtsrin PV code") Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250518044107.39928-1-maddy@linux.ibm.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions