powerpc: Fix fall-through warning for Clang
Subsystems (2)
PATCH 1/1 powerpc: 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 <[email protected]>
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- arch/powerpc/platforms/85xx/mpc85xx_cds.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/platforms/85xx/mpc85xx_cds.c +1 -0
@@ -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 ; }
Signature · 1 line
2.34.1
Quoted 8 lines · Gustavo A. R. Silva
Fix the following fallthrough warning:
arch/powerpc/platforms/85xx/mpc85xx_cds.c:161:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
Thanks!
Reviewed-by Kees Cook <[email protected]>
Signature · 1 line
Kees Cook
Michael Ellerman
AppliedQuoted 5 lines · Gustavo A. R. Silva
Fix the following fallthrough warning:
arch/powerpc/platforms/85xx/mpc85xx_cds.c:161:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
Applied to powerpc/next.
[1/1] powerpc: Fix fall-through warning for Clang
https://git.kernel.org/powerpc/c/d4d944ff68cb1f896d3f3b1af0bc656949dc626a
cheers
Quoted 2 lines
Applied to powerpc/next.
Great. :)
Thanks, Michael.
--
Gustavo