summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-07-22 19:02:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-22 19:02:25 -0700
commite08100fe957e2f0b5ae476c5b5ae0df5ecaa3563 (patch)
treec553c1dc7a2bbc6efb6fdac5d0ef9c70b5d5174d /arch
parent9bead1b58c4c4a85319d0fc8a5c83e7374977d28 (diff)
parent615c77eb5e870d1ffa95f4001cba3612bd2f2332 (diff)
Merge tag 'fallthrough-fixes-clang-5.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull fallthrough fix from Gustavo Silva: "Fix a fall-through warning when building with -Wimplicit-fallthrough on PowerPC" * tag 'fallthrough-fixes-clang-5.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: powerpc/pasemi: Fix fall-through warning for Clang
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pasemi/idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/idle.c b/arch/powerpc/platforms/pasemi/idle.c
index 9b88e3cded7d..534b0317fc15 100644
--- a/arch/powerpc/platforms/pasemi/idle.c
+++ b/arch/powerpc/platforms/pasemi/idle.c
@@ -42,6 +42,7 @@ static int pasemi_system_reset_exception(struct pt_regs *regs)
switch (regs->msr & SRR1_WAKEMASK) {
case SRR1_WAKEDEC:
set_dec(1);
+ break;
case SRR1_WAKEEE:
/*
* Handle these when interrupts get re-enabled and we take