diff options
| author | 2018-11-27 22:32:18 -0600 | |
|---|---|---|
| committer | 2019-01-08 21:57:26 -0500 | |
| commit | 5bd5f66cf142703e163459e1b36b73e265f0a0da (patch) | |
| tree | cde48eca6e67ec59a372dd7dd80de8984571704c /include/linux/mfd/git:/ssh: | |
| parent | scsi: smartpqi_init: fix boolean expression in pqi_device_remove_start (diff) | |
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 'include/linux/mfd/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
