commit | 9c9d18e7a680f3eceeb891e24709eda817ef738e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Dec 09 13:48:36 2015 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Dec 10 13:33:18 2015 -0500 |
tree | e8d5504425f0f2bfd55dab13e466184a9ee1c367 | |
parent | 9a2fcad8dce219df6cac3db91f373080f017856a [diff] |
hisi_sas: fix error codes in hisi_sas_task_prep() There were a couple cases where the error codes weren't set and also I changed the success return to "return 0;" which is the same as "return rc;" but more explicit. Fixes: 42e7a69368a5 ('hisi_sas: Add ssp command functio') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Tested-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>