diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2023-04-11 13:12:20 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-04-12 15:12:24 +0200 |
commit | f0e7c06f2be9673d008e866bff1a97e1823637e9 (patch) | |
tree | 593eff4da8fb97dbae5bf121a1c1c03335b1d1ce /arch/mips | |
parent | MIPS: Remove set_swbp() in uprobes.c (diff) | |
download | linux-f0e7c06f2be9673d008e866bff1a97e1823637e9.tar.xz linux-f0e7c06f2be9673d008e866bff1a97e1823637e9.zip |
MIPS: loongson2ef: Add missing break in cs5536_isa
Fixes build error:
arch/mips/loongson2ef/common/cs5536/cs5536_isa.c:217:2: error:
unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
default:
^
arch/mips/loongson2ef/common/cs5536/cs5536_isa.c:217:2:
note: insert 'break;' to avoid fall-through
default:
^
break;
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/loongson2ef/common/cs5536/cs5536_isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson2ef/common/cs5536/cs5536_isa.c b/arch/mips/loongson2ef/common/cs5536/cs5536_isa.c index 5ad38f86ee62..d60dd9992377 100644 --- a/arch/mips/loongson2ef/common/cs5536/cs5536_isa.c +++ b/arch/mips/loongson2ef/common/cs5536/cs5536_isa.c @@ -213,7 +213,7 @@ void pci_isa_write_reg(int reg, u32 value) lo |= 0x00000063; _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); } - + break; default: /* ALL OTHER PCI CONFIG SPACE HEADER IS NOT IMPLEMENTED. */ break; |