Re: [PATCH v2 1/6] hisi_sas: change tmf func complete check

2016-02-27 Thread Hannes Reinecke
On 02/25/2016 05:42 PM, John Garry wrote: > In hisi_sas_exec_internal_tmf_task(), the check for > SAM_STAT_GOOD is replaced with > TMF_RESP_FUNC_COMPLETE, which is a genuine tmf > response code. > SAM_STAT_GOOD and TMF_RESP_FUNC_COMPLETE have the > same value, so this is why it worked before. > >

[PATCH v2 1/6] hisi_sas: change tmf func complete check

2016-02-25 Thread John Garry
In hisi_sas_exec_internal_tmf_task(), the check for SAM_STAT_GOOD is replaced with TMF_RESP_FUNC_COMPLETE, which is a genuine tmf response code. SAM_STAT_GOOD and TMF_RESP_FUNC_COMPLETE have the same value, so this is why it worked before. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi