linux/drivers/usb/usbip
Johan Hovold ec963b412a USB: usbip: fix nonconforming hub descriptor
Fix up the root-hub descriptor to accommodate the variable-length
DeviceRemovable and PortPwrCtrlMask fields, while marking all ports as
removable (and leaving the reserved bit zero unset).

Also add a build-time constraint on VHCI_HC_PORTS which must never be
greater than USB_MAXCHILDREN (but this was only enforced through a
KConfig constant).

This specifically fixes the descriptor layout whenever VHCI_HC_PORTS is
greater than seven (default is 8).

Fixes: 04679b3489 ("Staging: USB/IP: add client driver")
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Cc: Valentina Manea <valentina.manea.m@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-17 11:53:02 +02:00
..
Kconfig
Makefile
README
stub_dev.c
stub_main.c
stub_rx.c
stub_tx.c
stub.h
usbip_common.c Merge branch 'work.sendmsg' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-03-02 15:16:38 -08:00
usbip_common.h sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
usbip_event.c
vhci_hcd.c USB: usbip: fix nonconforming hub descriptor 2017-05-17 11:53:02 +02:00
vhci_rx.c
vhci_sysfs.c usbip: fix warning in vhci_hcd_probe/lockdep_init_map 2016-12-06 08:37:41 +01:00
vhci_tx.c
vhci.h
vudc_dev.c usbip: vudc: Refactor init_vudc_hw() to be more obvious 2016-12-05 15:08:45 +01:00
vudc_main.c
vudc_rx.c
vudc_sysfs.c
vudc_transfer.c
vudc_tx.c
vudc.h

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface
	- document the protocol

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>