[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <29e7649456a8ecaa3935b403c1924701c45bda18.1446016489.git.jthumshirn@suse.de>
Date: Wed, 28 Oct 2015 08:22:16 +0100
From: Johannes Thumshirn <jthumshirn@...e.de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Johannes Thumshirn <jthumshirn@...e.de>,
Alexey Khoroshilov <khoroshilov@...ras.ru>,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] mcb: Destroy IDA on module unload
Destroy mcb_ida on module_unload
Signed-off-by: Johannes Thumshirn <jthumshirn@...e.de>
---
drivers/mcb/mcb-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c
index 9018ab8..a4be451 100644
--- a/drivers/mcb/mcb-core.c
+++ b/drivers/mcb/mcb-core.c
@@ -409,6 +409,7 @@ static int mcb_init(void)
static void mcb_exit(void)
{
+ ida_destroy(&mcb_ida);
bus_unregister(&mcb_bus_type);
}
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists