linux_dsm_epyc7002/drivers/scsi/bfa
Alexey Khoroshilov 3ff448b5b7 bfa: fix leak of bfad_im_port_index on module unload
Resources allocated within bfad_im_port_index idr are not deallocated
on module unload. The patch adds idr_destroy() in exit function.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-08-12 11:31:28 -07:00
..
bfa_core.c
bfa_cs.h
bfa_defs_fcs.h
bfa_defs_svc.h
bfa_defs.h
bfa_fc.h
bfa_fcbuild.c
bfa_fcbuild.h
bfa_fcpim.c
bfa_fcpim.h
bfa_fcs_fcpim.c
bfa_fcs_lport.c
bfa_fcs_rport.c
bfa_fcs.c bfa: use ARRAY_SIZE instead of sizeof/sizeof[0] 2014-07-25 17:16:55 -04:00
bfa_fcs.h
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc_cb.c
bfa_ioc_ct.c
bfa_ioc.c
bfa_ioc.h bfa: Fix undefined bit shift on big-endian architectures with 32-bit DMA address 2014-07-25 17:16:54 -04:00
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c
bfa_svc.h
bfa.h
bfad_attr.c
bfad_bsg.c bfa: remove useless return variables 2014-07-25 17:16:55 -04:00
bfad_bsg.h
bfad_debugfs.c bfa: replace 2 kzalloc/copy_from_user by memdup_user 2014-11-20 09:11:29 +01:00
bfad_drv.h
bfad_im.c bfa: fix leak of bfad_im_port_index on module unload 2015-08-12 11:31:28 -07:00
bfad_im.h
bfad.c bfs: bfad_worker cleanup 2015-04-17 09:04:09 -04:00
bfi_ms.h
bfi_reg.h
bfi.h
Makefile