From: Gustavo A. R. Silva Date: Wed, 1 Aug 2018 22:30:20 +0000 (-0500) Subject: aoe: mark expected switch fall-through X-Git-Tag: v4.19-rc1~56^2~75 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=99972f171bba19243999310154b7442198f0ab30;p=uclinux-h8%2Flinux.git 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 Signed-off-by: Jens Axboe --- 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);