Skip to content

Commit f0e7c06

Browse files
FlyGoattsbogend
authored andcommitted
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>
1 parent afa624f commit f0e7c06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/mips/loongson2ef/common/cs5536/cs5536_isa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ void pci_isa_write_reg(int reg, u32 value)
213213
lo |= 0x00000063;
214214
_wrmsr(SB_MSR_REG(SB_ERROR), hi, lo);
215215
}
216-
216+
break;
217217
default:
218218
/* ALL OTHER PCI CONFIG SPACE HEADER IS NOT IMPLEMENTED. */
219219
break;

0 commit comments

Comments
 (0)