linux_dsm_epyc7002/drivers/scsi/hisi_sas
Colin Ian King a28b259b43 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: 634a9585f4 ("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>
2017-03-29 22:38:53 -04:00
..
hisi_sas_main.c scsi: hisi_sas: use dev_is_sata to identify SATA or SAS disk 2017-03-23 11:12:02 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: fix some sas_task.task_state_lock locking 2017-03-23 11:12:02 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: add missing break in switch statement 2017-03-29 22:38:53 -04:00
hisi_sas.h scsi: hisi_sas: remove hisi_sas_port_deformed() 2017-03-23 11:12:01 -04:00
Kconfig scsi: hisi_sas: add softreset function for SATA disk 2017-03-23 11:12:01 -04:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00