Re: [PATCH] bnx2i: missing error code in bnx2i_ep_connect()

2017-06-26 Thread Martin K. Petersen
Dan, > 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(). Applied to 4.13/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] bnx2i: missing error code in bnx2i_ep_connect()

2017-06-23 Thread Johannes Thumshirn
On Fri, Jun 23, 2017 at 10:02:00AM +0300, Dan Carpenter wrote: > 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: cf4e6363859d ("[SCSI] bnx2i: Add bnx2i iSCSI driver.") > Signed-off

[PATCH] bnx2i: missing error code in bnx2i_ep_connect()

2017-06-23 Thread Dan Carpenter
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: cf4e6363859d ("[SCSI] bnx2i: Add bnx2i iSCSI driver.") Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/driver