aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2024-08-05 23:51:15 +0200
committerHans Verkuil <[email protected]>2024-08-09 07:56:39 +0200
commit64979ac2aa7773d3a77c861c8eb4c006f9033eec (patch)
treeaf87f5be906bbce3e4ee43bf3fc0b9af29344e19 /tools/perf/scripts/python/bin
parent0016b5a5c71ef426d88bff2b14096ddf86c4181f (diff)
media: atmel-isi: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_for_completion_timeout() causing patterns like: timeout = wait_for_completion_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions