linux-sg2042/drivers/scsi/bnx2i
Dan Carpenter 1d32a62c74 scsi: bnx2i: missing error code in bnx2i_ep_connect()
If bnx2i_map_ep_dbell_regs() then we accidentally return NULL instead of
an error pointer.  It results in a NULL dereference in
iscsi_if_ep_connect().

Fixes: cf4e636385 ("[SCSI] bnx2i: Add bnx2i iSCSI driver.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-06-26 15:01:03 -04:00
..
57xx_iscsi_constants.h bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00
57xx_iscsi_hsi.h bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00
Kconfig bnx2i/bnx2fc : fix randconfig error in next-20140909 2014-09-15 17:45:18 -04:00
Makefile
bnx2i.h sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
bnx2i_hwi.c bnx2i: fix spelling mistake "complection" -> "completion" 2016-07-12 23:16:31 -04:00
bnx2i_init.c scsi/bnx2i: Convert to hotplug state machine 2016-12-25 10:47:43 +01:00
bnx2i_iscsi.c scsi: bnx2i: missing error code in bnx2i_ep_connect() 2017-06-26 15:01:03 -04:00
bnx2i_sysfs.c bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00