diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-02 01:30:20 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-02 18:59:00 +0300 |
commit | 99972f171bba19243999310154b7442198f0ab30 (patch) | |
tree | e37da0fe0b00c3a3f29565ea5056aa518ae1aa11 /drivers | |
parent | c480bcf97b186a67ea6f0f6cab70ba430bcd5613 (diff) | |
download | linux-99972f171bba19243999310154b7442198f0ab30.tar.xz |
aoe: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114722 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/aoe/aoecmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index 096882e54095..136dc507d020 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -1137,6 +1137,7 @@ noskb: if (buf) break; } bvcpy(skb, f->buf->bio, f->iter, n); + /* fall through */ case ATA_CMD_PIO_WRITE: case ATA_CMD_PIO_WRITE_EXT: spin_lock_irq(&d->lock); |