android_kernel_samsung_a7y1.../drivers/scsi/bfa
Navid Emamdoost 1498ec711d 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-04-07 13:33:00 +02:00
..
bfa_core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_cs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_defs_fcs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_defs_svc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_defs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcbuild.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcbuild.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcpim.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcpim.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcs_fcpim.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcs_lport.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcs_rport.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_fcs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_hw_cb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_hw_ct.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_ioc_cb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_ioc_ct.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_ioc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_ioc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_modules.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_plog.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_port.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_port.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_svc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa_svc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfa.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad_attr.c scsi: bfa: release allocated memory in case of error 2020-04-07 13:33:00 +02:00
bfad_bsg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad_bsg.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad_debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad_drv.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad_im.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad_im.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfad.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfi_ms.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfi_reg.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30