Re: [PATCH] MIPS: BCM63XX: Mark expected switch fall-through
From: Paul Burton <hidden>
Date: 2019-08-06 19:22:40
Also in:
linux-arm-kernel, lkml
From: Paul Burton <hidden>
Date: 2019-08-06 19:22:40
Also in:
linux-arm-kernel, lkml
Hello, Gustavo A. R. Silva wrote:
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: bcm63xx_defconfig mips): arch/mips/pci/ops-bcm63xx.c: In function ‘bcm63xx_pcie_can_access’: arch/mips/pci/ops-bcm63xx.c:474:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (PCI_SLOT(devfn) == 0) ^ arch/mips/pci/ops-bcm63xx.c:477:2: note: here default: ^~~~~~~ Signed-off-by: Gustavo A. R. Silva <redacted>
Applied to mips-fixes.
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@mips.com to report it. ]