diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-27 15:49:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-30 09:52:39 +0100 |
commit | c2300cd67c9583c8084767dd4dac19287afc5498 (patch) | |
tree | 97681a447e1d111c047e699ff0b97544c742853d /drivers/usb/storage | |
parent | 1f4d31f9aa016b5cb8ebcc2061fb59b295d51c76 (diff) | |
download | linux-c2300cd67c9583c8084767dd4dac19287afc5498.tar.bz2 |
usb: storage: sddr55: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/sddr55.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/sddr55.c b/drivers/usb/storage/sddr55.c index 147c50b3e00f..b973da42b593 100644 --- a/drivers/usb/storage/sddr55.c +++ b/drivers/usb/storage/sddr55.c @@ -604,6 +604,7 @@ static unsigned long sddr55_get_capacity(struct us_data *us) { case 0x64: info->pageshift = 8; info->smallpageshift = 1; + /* fall through */ case 0x5d: // 5d is a ROM card with pagesize 512. return 0x00200000; |