diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-03 14:23:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 11:48:54 -0700 |
commit | a2eed33dcdb7663170b01f05dd8d0a3323ffe4b3 (patch) | |
tree | b85ce0fc9f511d5c2098b831cc30fd4b2a7f73ec /drivers/ide/ide-floppy.c | |
parent | 777a82f87a9af591c3b02e9983d6cd3109022ea9 (diff) | |
download | talos-op-linux-a2eed33dcdb7663170b01f05dd8d0a3323ffe4b3.tar.gz talos-op-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/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 5bd2aafc3753..a8df300f949c 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -427,6 +427,7 @@ static int ide_floppy_get_capacity(ide_drive_t *drive) * (maintains previous driver behaviour) */ break; + /* else: fall through */ case CAPACITY_CURRENT: /* Normal Zip/LS-120 disks */ if (memcmp(cap_desc, &floppy->cap_desc, 8)) |