kernel_optimize_test/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_core.c [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfa_cs.h
bfa_defs_fcs.h [SCSI] bfa: Extend BSG interface. 2011-06-29 17:16:54 -05:00
bfa_defs_svc.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01:00
bfa_defs.h [SCSI] bfa: fix endian and bit field check bug 2011-12-15 10:55:01 +04:00
bfa_fc.h [SCSI] bfa: Revert back the current LUN Masking Implementation. 2012-01-10 17:01:24 -06:00
bfa_fcbuild.c [SCSI] bfa: FCS bug fixes. 2011-06-29 17:12:11 -05:00
bfa_fcbuild.h [SCSI] bfa: FCS bug fixes. 2011-06-29 17:12:11 -05:00
bfa_fcpim.c [SCSI] bfa: Revert back the current LUN Masking Implementation. 2012-01-10 17:01:24 -06:00
bfa_fcpim.h [SCSI] bfa: Revert back the current LUN Masking Implementation. 2012-01-10 17:01:24 -06:00
bfa_fcs_fcpim.c [SCSI] bfa: Add FC-transport based Asynchronous Event Notification support. 2011-07-27 14:41:24 +04:00
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_fcs.c [SCSI] bfa: Add FC-transport based Asynchronous Event Notification support. 2011-07-27 14:41:24 +04:00
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_hw_cb.c [SCSI] bfa: Update RME interrupt handling. 2011-07-27 14:44:48 +04:00
bfa_hw_ct.c [SCSI] bfa: Update RME interrupt handling. 2011-07-27 14:44:48 +04:00
bfa_ioc_cb.c [SCSI] bfa: IOC bug fixes. 2011-06-29 16:57:52 -05:00
bfa_ioc_ct.c [SCSI] bfa: Flash controller IOC pll init fixes. 2012-03-28 09:54:32 +01:00
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_modules.h [SCSI] bfa: Add support to store driver configuration in flash. 2011-07-27 14:54:03 +04:00
bfa_plog.h
bfa_port.c [SCSI] bfa: Added support to query PHY. 2011-06-29 17:27:20 -05:00
bfa_port.h [SCSI] bfa: Added support for CEE info and stats query. 2011-06-29 17:21:23 -05:00
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
bfa.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +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 SCSI updates for post 3.2 merge window 2012-01-10 10:36:08 -08:00
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
bfad.c [SCSI] bfa: Fix to defer vport delete handler invocation till firmware logo response. 2012-04-25 09:58:31 +01:00
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
bfi.h [SCSI] bfa: Add FC-transport based Asynchronous Event Notification support. 2011-07-27 14:41:24 +04:00
Makefile [SCSI] bfa: Add BSG interface to support ELS, CT and vendor commands. 2011-06-29 15:59:53 -05:00