aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-08-05 23:51:14 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-09 07:56:39 +0200
commit0016b5a5c71ef426d88bff2b14096ddf86c4181f (patch)
treed3c7d7a5a09b8253ea9f11119f96606643acdb17 /tools/perf/scripts/python/export-to-sqlite.py
parentmedia: dt-bindings: media: renesas,fcp: Document RZ/G2UL FCPVD bindings (diff)
downloadlinux-0016b5a5c71ef426d88bff2b14096ddf86c4181f.tar.gz
linux-0016b5a5c71ef426d88bff2b14096ddf86c4181f.zip
media: allegro: 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, also for the code path using 'tmo' as a variable. 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions