remarkable-linux/drivers/scsi/bfa
Dan Carpenter a5254dbb17 [SCSI] bfa: dereferencing freed memory in bfad_im_probe()
If bfad_thread_workq(bfad) was not BFA_STATUS_OK then we freed "im"
and then dereferenced it.

I did a little clean up because it seemed nicer to return directly
instead of doing a superfluous goto.  I looked at other functions in
this file and it seems like returning directly is standard.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-07-20 08:58:37 +01:00
..
bfa.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfa_core.c [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfa_cs.h
bfa_defs.h
bfa_defs_fcs.h
bfa_defs_svc.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfa_fc.h
bfa_fcbuild.c
bfa_fcbuild.h
bfa_fcpim.c
bfa_fcpim.h
bfa_fcs.c
bfa_fcs.h [SCSI] bfa: Fix to defer vport delete handler invocation till firmware logo response. 2012-04-25 09:58:31 +01:00
bfa_fcs_fcpim.c
bfa_fcs_lport.c [SCSI] bfa: Fix bfa logging for Logical port state change notification 2012-04-25 10:02:03 +01:00
bfa_fcs_rport.c [SCSI] bfa: BSG and User interface fixes. 2012-03-28 09:57:58 +01:00
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c [SCSI] bfa: off by one in bfa_ioc_mbox_isr() 2012-07-20 08:58:37 +01:00
bfa_ioc.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfa_ioc_cb.c
bfa_ioc_ct.c [SCSI] bfa: Flash controller IOC pll init fixes. 2012-03-28 09:54:32 +01:00
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c [SCSI] bfa: BSG and User interface fixes. 2012-03-28 09:57:58 +01:00
bfa_svc.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfad.c [SCSI] bfa: Fix to defer vport delete handler invocation till firmware logo response. 2012-04-25 09:58:31 +01:00
bfad_attr.c [SCSI] bfa: Fix to set vport FC host sysfs entries 2012-05-22 11:06:29 +01:00
bfad_bsg.c [SCSI] bfa: BSG and User interface fixes. 2012-03-28 09:57:58 +01:00
bfad_bsg.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfad_debugfs.c
bfad_drv.h [SCSI] bfa: Update the driver version to 3.0.23.0 2012-03-28 10:02:46 +01:00
bfad_im.c [SCSI] bfa: dereferencing freed memory in bfad_im_probe() 2012-07-20 08:58:37 +01:00
bfad_im.h [SCSI] bfa: Fix to set vport FC host sysfs entries 2012-05-22 11:06:29 +01:00
bfi.h
bfi_ms.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfi_reg.h [SCSI] bfa: Flash controller IOC pll init fixes. 2012-03-28 09:54:32 +01:00
Makefile