path: root/tools
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-19 19:25:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-19 19:25:44 +0200
commitc7b70a641df26002e8f26e2b8122fcb6a1d815a1 (patch)
treea67b6e7500320cd5499b5af928d94c56ec0a473f /tools
parentb2a205ff49b9c55d4bdda1bdb10ad19ebd646221 (diff)
parent9ae24af3669111d418242caec8dd4ebd9ba26860 (diff)
Merge tag 'usb-4.19-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
I wrote: "USB fixes for 4.19-final Here are a small number of last-minute USB driver fixes Included here are: - spectre fix for usb storage gadgets - xhci fixes - cdc-acm fixes - usbip fixes for reported problems All of these have been in linux-next with no reported issues." * tag 'usb-4.19-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: usb: gadget: storage: Fix Spectre v1 vulnerability USB: fix the usbfs flag sanitization for control transfers usb: xhci: pci: Enable Intel USB role mux on Apollo Lake platforms usb: roles: intel_xhci: Fix Unbalanced pm_runtime_enable cdc-acm: correct counting of UART states in serial state notification cdc-acm: do not reset notification buffer index upon urb unlinking cdc-acm: fix race between reset and control messaging usb: usbip: Fix BUG: KASAN: slab-out-of-bounds in vhci_hub_control() selftests: usbip: add wait after attach and before checking port status
Diffstat (limited to 'tools')
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/drivers/usb/usbip/usbip_test.sh b/tools/testing/selftests/drivers/usb/usbip/usbip_test.sh
index a72df93cf1f8..128f0ab24307 100755
--- a/tools/testing/selftests/drivers/usb/usbip/usbip_test.sh
+++ b/tools/testing/selftests/drivers/usb/usbip/usbip_test.sh
@@ -141,6 +141,10 @@ echo "Import devices from localhost - should work"
src/usbip attach -r localhost -b $busid;
echo "=============================================================="
+# Wait for sysfs file to be updated. Without this sleep, usbip port
+# shows no imported devices.
+sleep 3;
echo "List imported devices - expect to see imported devices";
src/usbip port;
echo "=============================================================="

Privacy Policy