kernel-fxtec-pro1x/drivers/scsi/bfa
Navid Emamdoost 486f512015 scsi: bfa: release allocated memory in case of error
commit 0e62395da2bd5166d7c9e14cbc7503b256a34cb0 upstream.

In bfad_im_get_stats if bfa_port_get_stats fails, allocated memory needs to
be released.

Link: https://lore.kernel.org/r/20190910234417.22151-1-navid.emamdoost@gmail.com
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-14 20:07:06 +01:00
..
bfa.h
bfa_core.c scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids 2018-01-10 23:25:10 -05:00
bfa_cs.h scsi: bfa: use ktime_get_real_ts64 for firmware timestamp 2017-12-04 20:32:52 -05:00
bfa_defs.h
bfa_defs_fcs.h
bfa_defs_svc.h scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event 2019-12-01 09:16:28 +01:00
bfa_fc.h
bfa_fcbuild.c scsi: bfa: convert to strlcpy/strlcat 2017-12-11 21:30:46 -05:00
bfa_fcbuild.h
bfa_fcpim.c scsi: bfa: document overflow of io_profile_start_time 2017-12-04 20:32:52 -05:00
bfa_fcpim.h scsi: bfa: document overflow of io_profile_start_time 2017-12-04 20:32:52 -05:00
bfa_fcs.c scsi: bfa: convert to strlcpy/strlcat 2017-12-11 21:30:46 -05:00
bfa_fcs.h
bfa_fcs_fcpim.c
bfa_fcs_lport.c scsi: bfa: convert to strlcpy/strlcat 2017-12-11 21:30:46 -05:00
bfa_fcs_rport.c
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c scsi: bfa: convert to strlcpy/strlcat 2017-12-11 21:30:46 -05:00
bfa_ioc.h
bfa_ioc_cb.c
bfa_ioc_ct.c
bfa_modules.h
bfa_plog.h
bfa_port.c scsi: bfa: use proper time accessor for stats_reset_time 2017-12-04 20:32:52 -05:00
bfa_port.h scsi: bfa: use proper time accessor for stats_reset_time 2017-12-04 20:32:52 -05:00
bfa_svc.c scsi: bfa: convert to strlcpy/strlcat 2017-12-11 21:30:46 -05:00
bfa_svc.h scsi: bfa: use proper time accessor for stats_reset_time 2017-12-04 20:32:52 -05:00
bfad.c scsi: bfa: Use zeroing allocator rather than allocator/memset 2018-01-04 01:12:32 -05:00
bfad_attr.c scsi: bfa: release allocated memory in case of error 2020-01-14 20:07:06 +01:00
bfad_bsg.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
bfad_bsg.h
bfad_debugfs.c scsi: bfa: Use zeroing allocator rather than allocator/memset 2018-01-04 01:12:32 -05:00
bfad_drv.h
bfad_im.c scsi: bfa: remove ScsiResult macro 2018-07-10 22:42:47 -04:00
bfad_im.h scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event 2019-12-01 09:16:28 +01:00
bfi.h
bfi_ms.h
bfi_reg.h
Makefile