diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-03 21:23:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 20:48:54 +0200 |
commit | a2eed33dcdb7663170b01f05dd8d0a3323ffe4b3 (patch) | |
tree | b85ce0fc9f511d5c2098b831cc30fd4b2a7f73ec /drivers/ide/sis5513.c | |
parent | ide-tape: remove redundant variable buffer_size (diff) | |
download | linux-a2eed33dcdb7663170b01f05dd8d0a3323ffe4b3.tar.xz linux-a2eed33dcdb7663170b01f05dd8d0a3323ffe4b3.zip |
ide: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/sis5513.c')
-rw-r--r-- | drivers/ide/sis5513.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/sis5513.c b/drivers/ide/sis5513.c index c3062b53056f..024bc7ba49ee 100644 --- a/drivers/ide/sis5513.c +++ b/drivers/ide/sis5513.c @@ -494,6 +494,7 @@ static int init_chipset_sis5513(struct pci_dev *dev) pci_read_config_byte(dev, 0x09, ®); if ((reg & 0x0f) != 0x00) pci_write_config_byte(dev, 0x09, reg&0xf0); + /* fall through */ case ATA_16: /* force per drive recovery and active timings needed on ATA_33 and below chips */ |