diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-07-16 13:40:16 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-07-16 13:40:16 +0200 |
commit | e5793cd1b5fedb39337cfa62251a25030f526e56 (patch) | |
tree | 1ce2039dcbc18902b3f32b5fe8432da7621e3b05 /arch/mips/ath79 | |
parent | MIPS: perf events: handle switch statement falling through warnings (diff) | |
download | linux-e5793cd1b5fedb39337cfa62251a25030f526e56.tar.xz linux-e5793cd1b5fedb39337cfa62251a25030f526e56.zip |
MIPS: fix some more fall through errors in arch/mips
Fix these errors:
arch/mips/cavium-octeon/executive/cvmx-pko.c:489:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
arch/mips/bcm63xx/dev-flash.c:89:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
arch/mips/ath79/setup.c:155:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
arch/mips/ar7/setup.c:50:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Crispin <john@phrozen.org>
Cc: Matthias Schiffer <mschiffer@universe-factory.net>
Cc: "Petr Štetiar" <ynezz@true.cz>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Diffstat (limited to 'arch/mips/ath79')
-rw-r--r-- | arch/mips/ath79/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 298b46b4e9cb..42a8668b6fe6 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c @@ -156,7 +156,7 @@ static void __init ath79_detect_sys_type(void) case REV_ID_MAJOR_QCA9533_V2: ver = 2; ath79_soc_rev = 2; - /* drop through */ + /* fall through */ case REV_ID_MAJOR_QCA9533: ath79_soc = ATH79_SOC_QCA9533; |