summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshcd.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-03-28 12:12:22 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-29 22:38:53 -0400
commita28b259b43914b04746184cec318c67bded7234c (patch)
tree4a9c7f93abd2a39cb9987721ba7f74dd75b4b0e9 /drivers/scsi/ufs/ufshcd.c
parentce8c4a1ec92bec6e6648d6292c748d27e88f3c76 (diff)
downloadblackbird-op-linux-a28b259b43914b04746184cec318c67bded7234c.tar.gz
blackbird-op-linux-a28b259b43914b04746184cec318c67bded7234c.zip
scsi: hisi_sas: add missing break in switch statement
It appears that a break in the TRANS_TX_OPEN_CNX_ERR_NO_DESTINATION case got accidentally removed in an earlier commit, as it stands, the ts->stat and ts->open_rej_reason are being updated twice for this case which looks incorrect. Fix this by adding in the missing break statement. Detected by CoverityScan, CID#1422110 ("Missing break in switch") Fixes: 634a9585f49c7 ("scsi: hisi_sas: process error codes according to their priority") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud