summaryrefslogtreecommitdiff
path: root/drivers/scsi/st.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-06-12 01:50:45 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-08-12 11:31:28 -0700
commit3ff448b5b7dc7ad4d664588c343da1e5e2ce18dd (patch)
treed525b35d767c8f5a3307be983b29f3f81b9ac0c3 /drivers/scsi/st.c
parentce83a4ca18391cfe823629c3863108d265e976f8 (diff)
downloadlwn-3ff448b5b7dc7ad4d664588c343da1e5e2ce18dd.tar.gz
lwn-3ff448b5b7dc7ad4d664588c343da1e5e2ce18dd.zip
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>
Diffstat (limited to 'drivers/scsi/st.c')
0 files changed, 0 insertions, 0 deletions