commit | 1d32a62c74b3bcb69822b0f4745af5410cfec3a7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jun 23 10:02:00 2017 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 26 15:01:03 2017 -0400 |
tree | b1f1cbbc3b7dbe5f9394c3a13ddbf986d0099f1b | |
parent | 06d9eb4e71c316f231dc079e66b58592d733c737 [diff] |
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: cf4e6363859d ("[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>