From 3ff448b5b7dc7ad4d664588c343da1e5e2ce18dd Mon Sep 17 00:00:00 2001 From: Alexey Khoroshilov Date: Fri, 12 Jun 2015 01:50:45 +0300 Subject: [PATCH] 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 Reviewed-by: Johannes Thumshirn Signed-off-by: James Bottomley --- Reading git-format-patch failed