diff options
| author | Wolfram Sang <[email protected]> | 2024-05-07 11:02:01 +0200 |
|---|---|---|
| committer | Liviu Dudau <[email protected]> | 2024-05-10 00:41:09 +0100 |
| commit | ed325ac38e0c0e371f128db0978357453a0c362c (patch) | |
| tree | 58f11eafee10315d61e13c5bd702cbf27eb912f8 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 6597efcfc53585d5fb177b901a41b4ac2f282b99 (diff) | |
drm/arm/komeda: don't use confusing 'timeout' variable name
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. Check the return value directly to drop
'timeout' which also fixes its wrong type.
Signed-off-by: Wolfram Sang <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
[changed commit title to match driver name]
Signed-off-by: Liviu Dudau <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions