aboutsummaryrefslogtreecommitdiff
path: root/drivers/dca
diff options
context:
space:
mode:
authorWei Yongjun2021-06-17 02:48:37 +0000
committerMartin K. Petersen2021-06-18 23:01:03 -0400
commit41962aba2dc622b456aaf3c20e1089084714f73f (patch)
tree7febf0061bb240b5f6b4fbfa834921729b57deef /drivers/dca
parent61bf3fdb5dd0e6980a6b514a924ea1da75e2a946 (diff)
scsi: elx: efct: Fix error handling in efct_hw_init()
Fix to return negative error code -ENOMEM from the error handling case instead of 0. Also fix typo in error message. Link: https://lore.kernel.org/r/20210617024837.1023069-1-weiyongjun1@huawei.com Fixes: 4df84e846624 ("scsi: elx: efct: Driver initialization routines") Reported-by: Hulk Robot <hulkci@huawei.com> Reviewed-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions