diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-12-09 13:48:36 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-12-10 13:33:18 -0500 |
commit | 9c9d18e7a680f3eceeb891e24709eda817ef738e (patch) | |
tree | e8d5504425f0f2bfd55dab13e466184a9ee1c367 /drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | |
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>
Diffstat (limited to 'drivers/scsi/hisi_sas/hisi_sas_v1_hw.c')
0 files changed, 0 insertions, 0 deletions