diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-27 22:32:18 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-08 21:57:26 -0500 |
commit | 5bd5f66cf142703e163459e1b36b73e265f0a0da (patch) | |
tree | cde48eca6e67ec59a372dd7dd80de8984571704c /drivers/scsi/isci | |
parent | 12de280b36f0e0599c7f170aa7f1058f3aeb6d9d (diff) | |
download | lwn-5bd5f66cf142703e163459e1b36b73e265f0a0da.tar.gz lwn-5bd5f66cf142703e163459e1b36b73e265f0a0da.zip |
scsi: lpfc: lpfc_sli: 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" and "Fall
Thru" with "fall through" annotations, which is what GCC is expecting to
find.
Also, in some cases a dash is added as a token in order to separate the
"fall through" annotation from the rest of the comment on the same line,
which is what GCC is expecting to find.
Addresses-Coverity-ID: 114979 ("Missing break in switch")
Addresses-Coverity-ID: 114980 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci')
0 files changed, 0 insertions, 0 deletions