Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);