diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-31 09:50:07 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-04 11:12:46 +0200 |
commit | 8581bbcd30afa9d2fa12ad1605c809b7ada495ea (patch) | |
tree | 38a36942784089ac28909eba0a4e03048545565a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 499c2bc3cc89dcbbf08aa526cd4a984b92a4d2a8 (diff) |
dmaengine: ste_dma40: fix error return code in d40_probe()
In many of the error handling case, the return value 'ret' not set
and 0 will be return from d40_probe() even if error, but we should
return a negative error code instead in those error handling case.
This patch fixed them, and also removed useless variable 'err'.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions