]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.14.44/usbip-correct-maximum-value-of-config_usbip_vhci_hc_ports.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.14.44 / usbip-correct-maximum-value-of-config_usbip_vhci_hc_ports.patch
1 From foo@baz Thu May 24 11:09:34 CEST 2018
2 From: Ben Hutchings <ben@decadent.org.uk>
3 Date: Mon, 29 Jan 2018 00:04:18 +0000
4 Subject: usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS
5
6 From: Ben Hutchings <ben@decadent.org.uk>
7
8 [ Upstream commit 351a8d4837ae0d61744e64262c3a80ab92ff3e42 ]
9
10 Now that usbip supports USB3, the maximum number of ports allowed
11 on a hub is 15 (USB_SS_MAXPORTS), not 31 (USB_MAXCHILDREN).
12
13 Reported-by: Gianluigi Tiesi <sherpya@netfarm.it>
14 Reported-by: Borissh1983 <borissh1983@gmail.com>
15 References: https://bugs.debian.org/878866
16 Fixes: 1c9de5bf4286 ("usbip: vhci-hcd: Add USB3 SuperSpeed support")
17 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
18 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 ---
21 drivers/usb/usbip/Kconfig | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24 --- a/drivers/usb/usbip/Kconfig
25 +++ b/drivers/usb/usbip/Kconfig
26 @@ -27,7 +27,7 @@ config USBIP_VHCI_HCD
27
28 config USBIP_VHCI_HC_PORTS
29 int "Number of ports per USB/IP virtual host controller"
30 - range 1 31
31 + range 1 15
32 default 8
33 depends on USBIP_VHCI_HCD
34 ---help---