Skip to content

Commit 731d5f4

Browse files
ide: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 parent 58e31cf commit 731d5f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ide/siimage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ static int init_chipset_siimage(struct pci_dev *dev)
493493
case 0x30:
494494
/* Clocking is disabled, attempt to force 133MHz clocking. */
495495
sil_iowrite8(dev, tmp & ~0x20, scsc_addr);
496+
break;
496497
case 0x10:
497498
/* On 133Mhz clocking. */
498499
break;

0 commit comments

Comments
 (0)