diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-27 22:21:23 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-07 21:35:16 -0500 |
commit | 1ff2d8c43bc2ac78470033eae2947aec0c2e8cb6 (patch) | |
tree | 6bb8730802a77a809b1c23361abd579abfac5a43 /drivers/scsi/BusLogic.c | |
parent | 09a5a24ff36f906baaa51338829acca6bd8438f8 (diff) | |
download | linux-next-1ff2d8c43bc2ac78470033eae2947aec0c2e8cb6.tar.gz |
scsi: BusLogic: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1056537 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/BusLogic.c')
-rw-r--r-- | drivers/scsi/BusLogic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 9cee941f97d6..717eef3ee893 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c @@ -2641,6 +2641,7 @@ static int blogic_resultcode(struct blogic_adapter *adapter, case BLOGIC_BAD_CMD_PARAM: blogic_warn("BusLogic Driver Protocol Error 0x%02X\n", adapter, adapter_status); + /* fall through */ case BLOGIC_DATA_UNDERRUN: case BLOGIC_DATA_OVERRUN: case BLOGIC_NOEXPECT_BUSFREE: |