diff options
author | Fabian Godehardt <fg@emlix.com> | 2011-09-01 14:15:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-18 10:33:06 +0200 |
commit | 8582d86143c690c68cc42f996def466a035bee34 (patch) | |
tree | b1f76f9d2a83485a24896c11d3cbe30193636efe /init/do_mounts_rd.c | |
parent | s3c-hsudc: implement vbus_draw hook (diff) | |
download | linux-8582d86143c690c68cc42f996def466a035bee34.tar.xz linux-8582d86143c690c68cc42f996def466a035bee34.zip |
USB: g_printer: fix bug in unregistration
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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions