commit | 1af1b8088907dc8ed024df95c0ba0f7ef39a9fea | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Thu Feb 25 17:42:10 2016 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Feb 29 21:00:03 2016 -0500 |
tree | e832e25935b704b3337d56c1100b211a14e9bed7 | |
parent | 5a412c38bb5bb6fc6a5faaeac0d6d33d2c731b4c [diff] |
hisi_sas: change tmf func complete check 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 <john.garry@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>