Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pasemi: Fix fall-through warning for Clang

Fix the following fallthrough warning:

arch/powerpc/platforms/pasemi/idle.c:45:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/60efbf18.d9n6eXv275OJcc7T%25lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>

+1
+1
arch/powerpc/platforms/pasemi/idle.c
··· 42 42 switch (regs->msr & SRR1_WAKEMASK) { 43 43 case SRR1_WAKEDEC: 44 44 set_dec(1); 45 + break; 45 46 case SRR1_WAKEEE: 46 47 /* 47 48 * Handle these when interrupts get re-enabled and we take