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>
This commit is contained in:
parent
c480bcf97b
commit
99972f171b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue