diff options
| author | Alan Stern <[email protected]> | 2014-06-03 15:11:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-06-18 00:05:50 +0000 |
| commit | 32b36eeae6a859670d2939a7d6136cb5e9ed64f8 (patch) | |
| tree | 59a11c03171be8b514a7325f4fb971979a396014 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | USB: EHCI: avoid BIOS handover on the HASEE E200 (diff) | |
| download | kernel-32b36eeae6a859670d2939a7d6136cb5e9ed64f8.tar.gz kernel-32b36eeae6a859670d2939a7d6136cb5e9ed64f8.zip | |
USB: usbtest: add a timeout for scatter-gather tests
In usbtest, tests 5 - 8 use the scatter-gather library in usbcore
without any sort of timeout. If there's a problem in the gadget or
host controller being tested, the test can hang.
This patch adds a 10-second timeout to the tests, so that they will
fail gracefully with an ETIMEDOUT error instead of hanging.
Signed-off-by: Alan Stern <[email protected]>
Reported-by: Huang Rui <[email protected]>
Tested-by: Huang Rui <[email protected]>
CC: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
