diff options
| author | Dan Carpenter <[email protected]> | 2017-07-12 07:31:21 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-07-25 02:24:29 +0000 |
| commit | 2c67521821acd900d7508f37e49d0b494011106d (patch) | |
| tree | bae372ccda78655469a55e9e4625ccf98cf9a885 /tools/perf/scripts/python | |
| parent | scsi: lpfc: fix linking against modular NVMe support (diff) | |
| download | kernel-2c67521821acd900d7508f37e49d0b494011106d.tar.gz kernel-2c67521821acd900d7508f37e49d0b494011106d.zip | |
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 <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
