diff options
author | 2024-04-30 14:14:42 +0200 | |
---|---|---|
committer | 2024-05-10 17:15:24 +0800 | |
commit | 98f9e447134be08d2edd696bb103ab6068fd3956 (patch) | |
tree | f5bd22ceabbbaff48649c28b4671d441ccd208b7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | crypto: caam - i.MX8ULP donot have CAAM page0 access (diff) | |
download | wireguard-linux-98f9e447134be08d2edd696bb103ab6068fd3956.tar.xz wireguard-linux-98f9e447134be08d2edd696bb103ab6068fd3956.zip |
crypto: api - use 'time_left' variable with wait_for_completion_killable_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_completion_killable_timeout() causing patterns like:
timeout = wait_for_completion_killable_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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions