diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-12 10:31:21 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-25 05:24:29 +0300 |
commit | 2c67521821acd900d7508f37e49d0b494011106d (patch) | |
tree | bae372ccda78655469a55e9e4625ccf98cf9a885 /drivers/scsi/3w-sas.h | |
parent | cd069bb9f9ff13b23492fda6ccdb458ac4f641ca (diff) | |
download | linux-2c67521821acd900d7508f37e49d0b494011106d.tar.xz |
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/3w-sas.h')
0 files changed, 0 insertions, 0 deletions