Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS

Now that usbip supports USB3, the maximum number of ports allowed
on a hub is 15 (USB_SS_MAXPORTS), not 31 (USB_MAXCHILDREN).

Reported-by: Gianluigi Tiesi <sherpya@netfarm.it>
Reported-by: Borissh1983 <borissh1983@gmail.com>
References: https://bugs.debian.org/878866
Fixes: 1c9de5bf4286 ("usbip: vhci-hcd: Add USB3 SuperSpeed support")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ben Hutchings and committed by
Greg Kroah-Hartman
351a8d48 c53439fb

+1 -1
+1 -1
drivers/usb/usbip/Kconfig
··· 27 27 28 28 config USBIP_VHCI_HC_PORTS 29 29 int "Number of ports per USB/IP virtual host controller" 30 - range 1 31 30 + range 1 15 31 31 default 8 32 32 depends on USBIP_VHCI_HCD 33 33 ---help---