diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-07-29 23:10:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-07-29 23:24:58 +0200 |
commit | 7be21763f703d0f7e878283ec31e52b225097449 (patch) | |
tree | f3b314ea6394967ad6b1b0a37f7fe82a9a3ff84b /drivers/nvme | |
parent | Linux 5.3-rc2 (diff) | |
download | linux-7be21763f703d0f7e878283ec31e52b225097449.tar.xz linux-7be21763f703d0f7e878283ec31e52b225097449.zip |
ataflop: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
This patch fixes the following warning (Building: m68k):
drivers/block/ataflop.c: In function ‘fd_locked_ioctl’:
drivers/block/ataflop.c:1728:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
set_capacity(floppy->disk, MAX_DISK_SIZE * 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/block/ataflop.c:1729:2: note: here
case FDFMTEND:
^~~~
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions