summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-11-28 05:32:18 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-09 03:57:26 +0100
commit5bd5f66cf142703e163459e1b36b73e265f0a0da (patch)
treecde48eca6e67ec59a372dd7dd80de8984571704c /drivers/scsi/isci/request.c
parentscsi: smartpqi_init: fix boolean expression in pqi_device_remove_start (diff)
downloadlinux-5bd5f66cf142703e163459e1b36b73e265f0a0da.tar.xz
linux-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/request.c')
0 files changed, 0 insertions, 0 deletions