]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24c87dcb50e5c7277c5d33a544eb2dd9d6a3f9a6
tree5a0236e595dbf38f884f84cb0029b9206cc25665
parentce081bbfc21f6f738849857e74412a95b10e55c9
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