ARM: riscpc: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 26 Jul 2021 20:06:22 +0000 (15:06 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Thu, 29 Jul 2021 17:51:00 +0000 (12:51 -0500)
commit696e572dc85c674b31f4f13f59d8e217ee1b057f
tree5a0236e595dbf38f884f84cb0029b9206cc25665
parentff1176468d368232b684f75e82563369208bc371
ARM: riscpc: Fix fall-through warning for Clang

Fix the following fallthrough warning:

arch/arm/mach-rpc/riscpc.c:52:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
           default:
           ^
arch/arm/mach-rpc/riscpc.c:52:2: note: insert 'break;' to avoid fall-through
           default:
           ^
           break;

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/202107260355.bF00i5bi-lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
arch/arm/mach-rpc/riscpc.c