scsi: lpfc: lpfc_hbadisc: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 26 Nov 2018 19:30:39 +0000 (13:30 -0600)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 8 Apr 2019 23:38:40 +0000 (18:38 -0500)
commitf60deecb96616ae188b08ba99a6d8fb41ee7a48f
treeaf7aba0074a5a33a262a350f8f38dd4603234d2c
parentbf9598bdb311fc4013208b83c41357cde9d97522
scsi: lpfc: lpfc_hbadisc: Mark expected switch fall-throughs

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

Notice that, in this particular case, I replaced "Drop thru" with a
"fall through" annotation, which is what GCC is expecting to find.

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