projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c480bcf
)
aoe: mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Wed, 1 Aug 2018 22:30:20 +0000
(17:30 -0500)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 2 Aug 2018 15:59:00 +0000
(09:59 -0600)
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>
drivers/block/aoe/aoecmd.c
patch
|
blob
|
history
diff --git
a/drivers/block/aoe/aoecmd.c
b/drivers/block/aoe/aoecmd.c
index 096882e54095b4eccc76a88d3268517acfefd244..136dc507d0206dd0f097774f664c00b434d30bbe 100644
(file)
--- 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);