Re: [PATCH] cdc-acm: Destroy acm_minors IDR on module exit

2015-07-09 Thread Oliver Neukum
On Wed, 2015-07-08 at 17:25 +0200, Johannes Thumshirn wrote: Destroy acm_minors IDR on module exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez mcg...@suse.com) SmPL @ defines_module_init @ declarer name module_init,

Re: [PATCH] cdc-acm: Destroy acm_minors IDR on module exit

2015-07-09 Thread Johan Hovold
On Wed, Jul 08, 2015 at 05:25:42PM +0200, Johannes Thumshirn wrote: Destroy acm_minors IDR on module exit, reclaiming the allocated memory. Signed-off-by: Johannes Thumshirn jthumsh...@suse.de --- drivers/usb/class/cdc-acm.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] cdc-acm: Destroy acm_minors IDR on module exit

2015-07-08 Thread Johannes Thumshirn
Destroy acm_minors IDR on module exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez mcg...@suse.com) SmPL @ defines_module_init @ declarer name module_init, module_exit; declarer name DEFINE_IDR; identifier init; @@