summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-08-05 23:51:18 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-09 07:56:39 +0200
commit24a19e4b3a1abc548e45d35d7ce8f2b6b6c65ce7 (patch)
tree49e61b9a270df8e6cee3a7eba4541745cdb44d75 /tools/perf/scripts/python
parentbafa00652c860665060b5f6ab01eb58e970c854e (diff)
media: platform: exynos-gsc: 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 <wsa+renesas@sang-engineering.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions