diff options
| author | Wolfram Sang <[email protected]> | 2024-08-05 23:51:16 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-08-09 07:56:39 +0200 |
| commit | 9b2bf29410e962fd657cc50c7baa198506f1fc11 (patch) | |
| tree | 3998a455b926a0598b46563d4a233257a06e3332 /tools/perf/scripts/python | |
| parent | 64979ac2aa7773d3a77c861c8eb4c006f9033eec (diff) | |
media: bdisp: use 'time_left' variable with wait_event_timeout()
There is a confusing pattern in the kernel to use a variable named
'timeout' to store the result of wait_event_timeout() causing
patterns like:
timeout = wait_event_timeout(...)
if (!timeout) return -ETIMEDOUT;
with all kinds of permutations. Use 'time_left' as a variable to make the
code self explaining.
Fix to the proper variable type 'long' while here.
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions