summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-12 10:31:21 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-07-24 22:24:29 -0400
commit2c67521821acd900d7508f37e49d0b494011106d (patch)
treebae372ccda78655469a55e9e4625ccf98cf9a885 /drivers/scsi/bnx2fc
parentcd069bb9f9ff13b23492fda6ccdb458ac4f641ca (diff)
scsi: qedi: Fix return code in qedi_ep_connect()
We shouldn't be writing over the "ret" variable. It means we return ERR_PTR(0) which is NULL and it results in a NULL dereference in the caller. Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions