summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-06-03 11:11:34 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-30 20:11:52 -0700
commitfe6fa2465e83ce6aea2fc7d146638e69b0438b90 (patch)
tree407fc1af3e4ab65921af1c78384e3004f6b30e03 /include/linux/flex_array.h
parent08dbc4287663f92fa69556a0074076312e64a8e5 (diff)
USB: usbtest: add a timeout for scatter-gather tests
commit 32b36eeae6a859670d2939a7d6136cb5e9ed64f8 upstream. 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 <stern@rowland.harvard.edu> Reported-by: Huang Rui <ray.huang@amd.com> Tested-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions