OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Dan Carpenter 9c9d18e7a6 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: 42e7a69368 ('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>
2015-12-10 13:33:18 -05:00
..
Kconfig hisi_sas: Add initial bare main driver 2015-11-25 22:12:51 -05:00
Makefile hisi_sas: Add v1 hw module init 2015-11-25 22:12:58 -05:00
hisi_sas.h hisi_sas: Remove dependency on of_irq_count 2015-11-25 22:13:09 -05:00
hisi_sas_main.c hisi_sas: fix error codes in hisi_sas_task_prep() 2015-12-10 13:33:18 -05:00
hisi_sas_v1_hw.c hisi_sas: Remove dependency on of_irq_count 2015-11-25 22:13:09 -05:00