linux-sg2042/drivers/scsi/hisi_sas
Xiaofei Tan d87e72fb4f scsi: hisi_sas: Fix return value when get_free_slot() failed
It is an step of executing task to get free slot. If the step fails, we
will cleanup LLDD resources and should return failure to upper layer or
internal caller to abort task execution of this time.

But in the current code, the caller of get_free_slot() doesn't return
failure when get_free_slot() failed. This patch is to fix it.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-05-28 22:40:32 -04:00
..
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command 2018-05-28 22:40:32 -04:00
hisi_sas_main.c scsi: hisi_sas: Fix return value when get_free_slot() failed 2018-05-28 22:40:32 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot 2018-05-28 22:40:32 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command 2018-05-28 22:40:32 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot 2018-05-28 22:40:32 -04:00