]> git.ipfire.org Git - people/arne_f/kernel.git/commit
USB: dummy-hcd: increase max number of devices to 32
authorAndrey Konovalov <andreyknvl@google.com>
Mon, 21 Oct 2019 14:20:58 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Jan 2020 11:11:49 +0000 (12:11 +0100)
commitf0e24d683636a9193a2adcc928b78ba74bd46f1a
tree00a03bdf434268a0112f0fcb54745c98e65c4b99
parent65c0bbac0a29de4356e814a0fed838cb4484364c
USB: dummy-hcd: increase max number of devices to 32

commit 8442b02bf3c6770e0d7e7ea17be36c30e95987b6 upstream.

When fuzzing the USB subsystem with syzkaller, we currently use 8 testing
processes within one VM. To isolate testing processes from one another it
is desirable to assign a dedicated USB bus to each of those, which means
we need at least 8 Dummy UDC/HCD devices.

This patch increases the maximum number of Dummy UDC/HCD devices to 32
(more than 8 in case we need more of them in the future).

Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Link: https://lore.kernel.org/r/665578f904484069bb6100fb20283b22a046ad9b.1571667489.git.andreyknvl@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/dummy_hcd.c