projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf25c19
)
mcb: Destroy IDA on module unload
author
Johannes Thumshirn
<jthumshirn@suse.de>
Wed, 28 Oct 2015 07:22:16 +0000
(08:22 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 29 Oct 2015 00:02:16 +0000
(09:02 +0900)
Destroy mcb_ida on module_unload
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-core.c
patch
|
blob
|
history
diff --git
a/drivers/mcb/mcb-core.c
b/drivers/mcb/mcb-core.c
index 9018ab83517adcc8aedb239744a2842a0391b3dc..a4be451074e5caae0ebceff1236b3348ede5951b 100644
(file)
--- 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);
}