linux/arch/mips/alchemy
Gustavo A. R. Silva 25d7b70e02 MIPS: Fix fall-through warnings for Clang
Fix the following fallthrough warnings:

arch/mips/alchemy/devboards/db1550.c:69:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
           case BCSR_WHOAMI_DB1550:
           ^
   arch/mips/alchemy/devboards/db1550.c:69:2: note: insert 'break;' to avoid fall-through
           case BCSR_WHOAMI_DB1550:
           ^
           break;
arch/mips/kernel/uprobes.c:176:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
           default:
           ^
   arch/mips/kernel/uprobes.c:176:2: note: insert 'break;' to avoid fall-through
           default:
           ^
           break;

This helps with the ongoing efforts to globally enable
-Wimplicit-fallthrough for Clang.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/linux-mm/202109030839.t2llsvmc-lkp@intel.com/
Link: https://lore.kernel.org/linux-mm/202108271617.MHxFd8aX-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2021-10-13 14:47:42 -05:00
..
common MIPS: Alchemy: Use DEFINE_SPINLOCK() for spinlock 2021-04-12 16:54:57 +02:00
devboards MIPS: Fix fall-through warnings for Clang 2021-10-13 14:47:42 -05:00
board-gpr.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-mtx1.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-xxs1500.c MIPS: alchemy: xxs1500: add gpio-au1000.h header file 2021-05-25 15:16:23 +02:00
Kconfig MIPS: alchemy: remove unused ALCHEMY_GPIOINT_AU1000 2020-09-21 22:16:28 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00