aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2015-04-30 16:52:02 -0700
committerKalle Valo <[email protected]>2015-05-09 16:47:34 +0300
commit4e0ff946ee0b010a917dad6ae2fcbdc7e6f9ac16 (patch)
treec8c27424232c48427f083e9aa5472b2c0d510321 /tools/perf/scripts/python/syscall-counts.py
parenta534f3b60cac1af43a8dd0ab01afb25e36c9b631 (diff)
mwifiex: do not return success when command times out
wait_event_interruptible_timeout() returns 0 upon timeout. We should convert it to a negative error code (such as -ETIMEDOUT) instead of returning it directly, as return code of 0 indicates that command was executed. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions