diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-06-03 23:16:53 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-18 22:03:04 -0400 |
commit | a254eae30b45bb5f03b66e6b1047829cd4337976 (patch) | |
tree | 58bc95470932a56975865b97f4803ce63cf318f2 /include/pcmcia | |
parent | f9dc034d0402be35288959bfb44a41363be2b13e (diff) | |
download | linux-a254eae30b45bb5f03b66e6b1047829cd4337976.tar.bz2 |
scsi: mpi3mr: Fix error return code in mpi3mr_init_ioc()
Fix to return a negative error code from the error handling case instead of
0 as done elsewhere in this function.
Link: https://lore.kernel.org/r/20210603151653.711020-1-yangyingliang@huawei.com
Fixes: fb9b04574f14 ("scsi: mpi3mr: Add support for recovering controller")
Fixes: 824a156633df ("scsi: mpi3mr: Base driver code")
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions