summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-gt683r.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-05-08 20:08:03 +0200
committerJohan Hovold <johan@kernel.org>2016-05-10 09:40:16 +0200
commit194e958c5c3bf4fa0805b0653fe2d0428d3791ff (patch)
tree5cef6d57eb949248eeefadd3f7672e1e96c09c44 /drivers/hid/hid-gt683r.c
parent028c49f5e02a257c94129cd815f7c8485f51d4ef (diff)
USB: serial: fix minor-number allocation
Due to a missing upper bound, invalid minor numbers could be assigned to ports. Such devices would later fail to register, but let's catch this early as intended and avoid having devices with only a subset of their ports registered (potentially the empty set). Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-gt683r.c')
0 files changed, 0 insertions, 0 deletions