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-30 14:41:38 +0300
committerMark Brown <broonie@kernel.org>2024-04-30 17:57:30 +0300
commit34bed8a33f3a4f69b0ef584ef49f04a671a4a5c2 (patch)
tree23cc7a5278a8e066efa8339e759d89b42a41b85d /tools/perf/scripts/python/export-to-postgresql.py
parente66480aed4a194f278da1e46ec45221b3983216f (diff)
downloadlinux-34bed8a33f3a4f69b0ef584ef49f04a671a4a5c2.tar.xz
spi: sun4i: 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: Jernej Skrabec <jernej.skrabec@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20240430114142.28551-7-wsa+renesas@sang-engineering.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions