summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-08-05 23:51:19 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-09 07:56:39 +0200
commitb09b6f26adc407b0af7a7ad767f1e753a348d951 (patch)
tree1e725ea78fc2a44446f4dfb2706a9c226876b0a0 /tools/perf/scripts/python/export-to-postgresql.py
parent24a19e4b3a1abc548e45d35d7ce8f2b6b6c65ce7 (diff)
media: solo6x10: 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. Fix to the proper variable type 'unsigned long' while here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions