]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla4xxx: ql4_os: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 28 Nov 2018 04:33:43 +0000 (22:33 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 12 Jan 2019 02:05:03 +0000 (21:05 -0500)
commit6062df58c18b3f05ae92675f935b297fc91457e9
tree75d0a92ba8a4b8a6d2809214ad70f6a3a9e4bb71
parente0fb77e897ebbd46b817f6980be5edeadbc36f90
scsi: qla4xxx: ql4_os: mark expected switch fall-through

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

Notice that, in this particular case, I replaced "allow 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: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla4xxx/ql4_os.c