Dan Carpenter 2c67521821 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>
2017-07-24 22:24:29 -04:00
..
2017-03-13 15:33:09 -07:00
2017-05-04 12:19:44 -07:00
2017-05-18 13:21:40 -04:00
2017-03-13 15:33:09 -07:00
2017-03-13 15:33:09 -07:00
2017-03-13 15:33:09 -07:00