]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: bfa: bfa_fcs_lport: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 28 Nov 2018 04:27:15 +0000 (22:27 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 12 Jan 2019 02:47:47 +0000 (21:47 -0500)
commit698c123da616dcf31b8fe4ed2c4b61bfdde33b2c
treeb394557baa76d7a7a30fc918f21493bb9f312f5b
parent21045f5cc34eb3a43f3939ff244b6e6b51b69dba
scsi: bfa: bfa_fcs_lport: 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 "!!! fall through !!!"
with a "fall through" annotation, which is what GCC is expecting to find.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Sudarsana Kalluru <Sudarsana.Kalluru@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_fcs_lport.c