The commit 0775a9cbc694e8c7 ("usbip: vhci extension: modifications to vhci driver") introduced several bugs relating to the number of ports amd the port status. In addition, a small improvement is made to the vhci_hcd module. v3: - Check both ends of the nports - Check the return of ncontrollers - Add a few Reviewed-bys and Acked-bys - Minor coding changes v2: - Remove ncontrollers RO attr as suggested by Krzysztof - As a result, scandir vhci_hcd* dir in platform to learn how many we have as suggested by Krzysztof - Minor coding changes Thanks, Yuyang -- Yuyang Du (6): usb: usbip: Remove unnecessary get_vdev() usb: usbip tool: Fix get_nports() usb: usbip tool: Check the return of get_nports() usb: usbip tool: Add ncontrollers in vhci_driver structure usb: usbip tool: Fix refresh_imported_device_list() usb: usbip tool: Fix parse_status() drivers/usb/usbip/vhci_hcd.c | 32 +-------- tools/usb/usbip/libsrc/vhci_driver.c | 133 ++++++++++++++++++++++------------- tools/usb/usbip/libsrc/vhci_driver.h | 1 + tools/usb/usbip/src/usbip_attach.c | 2 + 4 files changed, 88 insertions(+), 80 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html