patch "serdev: fix memleak on module unload" added to tty-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
serdev: fix memleak on module unload
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
bc6cf3669d22371f573ab0305b3abf13887c0786Mon Sep 17 00:00:00 2001
From: Johan Hovold <[email protected]>
Date: Wed, 13 Jun 2018 17:08:59 +0200
Subject: serdev: fix memleak on module unload
Make sure to free all resources associated with the ida on module exit.
--- drivers/tty/serdev/core.c | 1 + 1 file changed, 1 insertion(+)
drivers/tty/serdev/core.c +1 -0
@@ -617,6 +617,7 @@ EXPORT_SYMBOL_GPL(__serdev_device_driver_register); static void __exit serdev_exit(void) {bus_unregister (&serdev_bus_type); +ida_destroy (&ctrl_ida); }module_exit (serdev_exit);
Signature · 1 line
2.18.0