commit | 76fa3531d09c55ecf99ea62f13f8b1dd8be076e1 | [log] [tgz] |
---|---|---|
author | Fabian Godehardt <fg@emlix.com> | Thu Sep 01 14:15:46 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Nov 11 09:35:36 2011 -0800 |
tree | 3f974572313f0753608da4eb6701435e5f4655f1 | |
parent | f72d6f85aa5857d889a2b4a41f2bd6be4918703a [diff] |
USB: g_printer: fix bug in unregistration commit 8582d86143c690c68cc42f996def466a035bee34 upstream. The allocated chardevice region range is only 1 device but on unregister it currently tries to deregister 2. Found this while doing a insmod/rmmod/insmod/rm... of the module which seemed to eat major numbers. Signed-off-by: Fabian Godehardt <fg@emlix.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>