aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/mpc85xx_cds.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2022-09-06 22:32:13 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-08 11:11:18 +1000
commitd4d944ff68cb1f896d3f3b1af0bc656949dc626a (patch)
tree61a3048a996e7680f1194ff8d17504652b6e69c7 /arch/powerpc/platforms/85xx/mpc85xx_cds.c
parentpowerpc/64s: add pte_needs_flush and huge_pmd_needs_flush (diff)
downloadlinux-dev-d4d944ff68cb1f896d3f3b1af0bc656949dc626a.tar.xz
linux-dev-d4d944ff68cb1f896d3f3b1af0bc656949dc626a.zip
powerpc/85xx: Fix fall-through warning for Clang
Fix the following fallthrough warning: arch/powerpc/platforms/85xx/mpc85xx_cds.c:161:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://github.com/KSPP/linux/issues/198 Link: https://lore.kernel.org/lkml/202209061224.KxORRGVg-lkp@intel.com/ Link: https://lore.kernel.org/r/Yxe8XTY5C9qJLd0Z@work
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx_cds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
index 48f3acfece0b..0b8f2101c5fb 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
@@ -159,6 +159,7 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev)
else
dev->irq = 10;
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, dev->irq);
+ break;
default:
break;
}