aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-04-27 22:36:05 +0200
committerAndi Shyti <andi.shyti@kernel.org>2024-05-06 00:56:54 +0200
commit749de720c7e568836e62c09508c92f00634c9bc3 (patch)
tree67e6e6bee14a2b49ef2d62eaf7300fe84b098010 /tools/perf/scripts/python/call-graph-from-postgresql.py
parenti2c: qcom-geni: use 'time_left' variable with wait_for_completion_timeout() (diff)
downloadwireguard-linux-749de720c7e568836e62c09508c92f00634c9bc3.tar.xz
wireguard-linux-749de720c7e568836e62c09508c92f00634c9bc3.zip
i2c: rk3x: 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: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions