summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/smp.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-14 11:10:40 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-14 11:10:40 -0500
commit104aba8dd7dca85d82e94aba07e71994ccdaf4cf (patch)
treed00fb62d21f93552d91d764e73488808ea2a634f /arch/powerpc/platforms/powermac/smp.c
parentafbd0d299289a0faaa605af74982f87ad75468fc (diff)
downloadlinux-104aba8dd7dca85d82e94aba07e71994ccdaf4cf.tar.gz
linux-104aba8dd7dca85d82e94aba07e71994ccdaf4cf.tar.bz2
linux-104aba8dd7dca85d82e94aba07e71994ccdaf4cf.zip
powerpc/smp: Fix fall-through warning for Clang
Fix the following fallthrough warning: arch/powerpc/platforms/powermac/smp.c:149:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/lkml/60ef0750.I8J+C6KAtb0xVOAa%25lkp@intel.com/ Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/smp.c')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index bdfea6d6ab69..3256a316e884 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -146,6 +146,7 @@ static inline void psurge_clr_ipi(int cpu)
switch(psurge_type) {
case PSURGE_DUAL:
out_8(psurge_sec_intr, ~0);
+ break;
case PSURGE_NONE:
break;
default: