summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-04-27 23:36:07 +0300
committerAndi Shyti <andi.shyti@kernel.org>2024-05-06 01:56:55 +0300
commit1ce1ad6de56591b7e8ea7d056f0a179b47ed9480 (patch)
treeae7bd4902e956ea538c546e1712dd98a1d9f00c9 /tools/perf/scripts/python/export-to-postgresql.py
parentbc0ff8022f26f8ee65dfea31fe590daf8adc8012 (diff)
downloadlinux-1ce1ad6de56591b7e8ea7d056f0a179b47ed9480.tar.xz
i2c: pxa: 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. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions