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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 22 Oct 2019 07:36:00 +0000 (10:36 +0300)
commit1bff4a4e66b91ef55ef0265944d01d13be0eae43
tree77127e30f65abfb14374d81748a41a9574acb86e
parentf2b06c953911276eaa25259f9b77e717d78392b2
USB: dummy-hcd: increase max number of devices to 32

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>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/dummy_hcd.c