2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00
linux-next/drivers/scsi/hisi_sas
John Garry 4ffde48221 scsi: hisi_sas: add TMF success check
When a tmf is issued, various response codes can be returned from the
target. For a query tmf the response may be TMF_RESP_FUNC_COMPLETE or
TMF_RESP_FUNC_SUCC.  Add a condition for TMF_RESP_FUNC_SUCC to
hisi_sas_exec_internal_tmf_task().  This affects query tmf, as the
result is success the returned value was for failure.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-08-25 22:38:54 -04:00
..
hisi_sas_main.c scsi: hisi_sas: add TMF success check 2016-08-25 22:38:54 -04:00
hisi_sas_v1_hw.c hisi_sas: use slot abort in v1 hw 2016-02-29 21:00:03 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: add v2 hw slot complete internal abort support 2016-08-25 22:38:54 -04:00
hisi_sas.h scsi: hisi_sas: add internal abort main code 2016-08-25 22:38:53 -04:00
Kconfig hisi_sas: add dependency for HAS_IOMEM 2016-01-26 21:17:59 -05:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00