]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: bfa: bfa_fcpim: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 26 Nov 2018 17:52:21 +0000 (11:52 -0600)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 8 Apr 2019 23:37:24 +0000 (18:37 -0500)
commit8fabc0eb9daabb120b579af2686abe49083dc1b5
tree9af54b5f33ec4541c680acbb12f7b1b95964e483
parenta8308767c1694e70e05133e0ac708d1f09b96a87
scsi: bfa: bfa_fcpim: Mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that I replaced "Fall through !!!" with a "fall through"
annotation, which is what GCC is expecting to find.

Addresses-Coverity-ID: 114971 ("Missing break in switch")
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/scsi/bfa/bfa_fcpim.c