diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-02 12:52:06 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 09:07:53 -0600 |
commit | d893ff86034f7107f89d8b740c2b5902a21a49db (patch) | |
tree | 04d40124c254c03b6ea0f88131e4ce7f9bdc252e /drivers/block | |
parent | d769a992966b0a188096fda24fc08fc769ec6547 (diff) | |
download | talos-obmc-linux-d893ff86034f7107f89d8b740c2b5902a21a49db.tar.gz talos-obmc-linux-d893ff86034f7107f89d8b740c2b5902a21a49db.zip |
block/loop: 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 <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index bae472646e4a..ea9debf59b22 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -1609,6 +1609,7 @@ static int lo_compat_ioctl(struct block_device *bdev, fmode_t mode, case LOOP_GET_STATUS64: case LOOP_SET_STATUS64: arg = (unsigned long) compat_ptr(arg); + /* fall through */ case LOOP_SET_FD: case LOOP_CHANGE_FD: case LOOP_SET_BLOCK_SIZE: |