[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1445502868-104839-1-git-send-email-jthumshirn@suse.de>
Date: Thu, 22 Oct 2015 10:34:28 +0200
From: Johannes Thumshirn <jthumshirn@...e.de>
To: Johannes Thumshirn <morbidrsa@...il.com>
Cc: Andreas Werner <andreas.werner@....de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Johannes Thumshirn <jthumshirn@...e.de>
Subject: [PATCH] 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.0
--
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