diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-01 17:30:20 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-02 09:59:00 -0600 |
commit | 99972f171bba19243999310154b7442198f0ab30 (patch) | |
tree | e37da0fe0b00c3a3f29565ea5056aa518ae1aa11 | |
parent | c480bcf97b186a67ea6f0f6cab70ba430bcd5613 (diff) |
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>
-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); |