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
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
bfa_fcbuild.h
bfa_fcpim.c
bfa_fcpim.h
bfa_fcs.c
bfa_fcs.h
bfa_fcs_fcpim.c
bfa_fcs_lport.c
bfa_fcs_rport.c
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c
bfa_ioc.h
bfa_ioc_cb.c
bfa_ioc_ct.c
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c
bfa_svc.h
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 scripts/spelling.txt: add "aligment" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
bfi_reg.h
Makefile