Commit 99972f17 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Jens Axboe

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c480bcf9
...@@ -1137,6 +1137,7 @@ noskb: if (buf) ...@@ -1137,6 +1137,7 @@ noskb: if (buf)
break; break;
} }
bvcpy(skb, f->buf->bio, f->iter, n); bvcpy(skb, f->buf->bio, f->iter, n);
/* fall through */
case ATA_CMD_PIO_WRITE: case ATA_CMD_PIO_WRITE:
case ATA_CMD_PIO_WRITE_EXT: case ATA_CMD_PIO_WRITE_EXT:
spin_lock_irq(&d->lock); spin_lock_irq(&d->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment