diff options
| author | 2018-10-16 11:12:23 +0200 | |
|---|---|---|
| committer | 2018-10-16 17:44:38 -0400 | |
| commit | 5d25ff7a544889bc4b749fda31778d6a18dddbcb (patch) | |
| tree | 9eac523f9923ed2bfd0cd9e77ab6233dfcb7e7f7 /drivers/scsi/ips.c | |
| parent | scsi: target/core: Always call transport_complete_callback() upon failure (diff) | |
| download | wireguard-linux-5d25ff7a544889bc4b749fda31778d6a18dddbcb.tar.xz wireguard-linux-5d25ff7a544889bc4b749fda31778d6a18dddbcb.zip | |
scsi: ips: fix missing break in switch
Add missing break statement in order to prevent the code from falling
through to case TEST_UNIT_READY.
Addresses-Coverity-ID: 1357338 ("Missing break in switch")
Suggested-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
| -rw-r--r-- | drivers/scsi/ips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index bd6ac6b5980a..fe587ef1741d 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -3485,6 +3485,7 @@ ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb) case START_STOP: scb->scsi_cmd->result = DID_OK << 16; + break; case TEST_UNIT_READY: case INQUIRY: |
