linux/drivers/scsi/hisi_sas
Luo Jiaxing c2bae4f7d7 scsi: hisi_sas: Directly return when running I_T_nexus reset if phy disabled
At hisi_sas_debug_I_T_nexus_reset(), we call sas_phy_reset() to reset a
phy. But if the phy is disabled, sas_phy_reset() will directly return
-ENODEV without issue a phy reset request.

If so, We can directly return -ENODEV to libsas before issue a phy
reset.

Link: https://lore.kernel.org/r/1567774537-20003-4-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-09-10 22:28:55 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Directly return when running I_T_nexus reset if phy disabled 2019-09-10 22:28:55 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: remove set but not used variable 'irq_value' 2019-08-29 18:01:58 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: replace "%p" with "%pK" 2019-08-07 22:13:15 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: replace "%p" with "%pK" 2019-08-07 22:13:15 -04:00
hisi_sas.h scsi: hisi_sas: Snapshot AXI and RAS register at debugfs 2019-08-07 22:13:15 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00