diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-08-02 19:15:30 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-24 23:25:07 -0400 |
commit | ca4fb89a3d714a770e9c73c649da830f3f4a5326 (patch) | |
tree | 8ffc7d6e0ebeab29491cf1275a3996a3730297ec /drivers/scsi/csiostor | |
parent | bbf2d06a9d767718bfe6028d6288c03edb98554a (diff) | |
download | linux-ca4fb89a3d714a770e9c73c649da830f3f4a5326.tar.gz linux-ca4fb89a3d714a770e9c73c649da830f3f4a5326.tar.bz2 linux-ca4fb89a3d714a770e9c73c649da830f3f4a5326.zip |
scsi: qla2xxx: Fix wrong return value in qla_nvme_register_hba()
On an error exit path, a negative error code should be returned instead of
a positive return value.
Link: https://lore.kernel.org/r/20200802111530.5020-1-tianjia.zhang@linux.alibaba.com
Fixes: 8777e4314d39 ("scsi: qla2xxx: Migrate NVME N2N handling into state machine")
Cc: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/csiostor')
0 files changed, 0 insertions, 0 deletions