summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-xxxx.c
diff options
context:
space:
mode:
authorZhang Changzhong <zhangchangzhong@huawei.com>2020-12-04 15:47:39 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-12-07 20:31:36 -0500
commitd4fc94fe65578738ded138e9fce043db6bfc3241 (patch)
tree83b9f17c2c44e71d4196916abb2b847fb2b63fce /drivers/scsi/3w-xxxx.c
parent4c60244dc37262023d24b167e245055c06bc0b77 (diff)
downloadlinux-d4fc94fe65578738ded138e9fce043db6bfc3241.tar.bz2
scsi: fnic: Fix error return code in fnic_probe()
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/1607068060-31203-1-git-send-email-zhangchangzhong@huawei.com Fixes: 5df6d737dd4b ("[SCSI] fnic: Add new Cisco PCI-Express FCoE HBA") Reported-by: Hulk Robot <hulkci@huawei.com> Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com> Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.c')
0 files changed, 0 insertions, 0 deletions