usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS
authorBen Hutchings <ben@decadent.org.uk>
Mon, 29 Jan 2018 00:04:18 +0000 (00:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:41 +0000 (16:17 +0200)
[ Upstream commit 351a8d4837ae0d61744e64262c3a80ab92ff3e42 ]

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: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/Kconfig

index eeefa29f8aa2bba09ad77892fb75306668d07fe9..a20b65cb6678f99821d17990cf873b9dbc6b58f5 100644 (file)
@@ -27,7 +27,7 @@ config USBIP_VHCI_HCD
 
 config USBIP_VHCI_HC_PORTS
        int "Number of ports per USB/IP virtual host controller"
-       range 1 31
+       range 1 15
        default 8
        depends on USBIP_VHCI_HCD
        ---help---