diff options
author | 2024-07-29 12:42:23 +0200 | |
---|---|---|
committer | 2024-08-14 23:58:14 +0800 | |
commit | 8de36789bd038ae24e29c40cbbc9e7d59604f54f (patch) | |
tree | a2a5c526fdf47471a981a946e0feafb0740b93c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fpga: socfpga: Rename 'timeout' variable as 'time_left' (diff) | |
download | wireguard-linux-8de36789bd038ae24e29c40cbbc9e7d59604f54f.tar.xz wireguard-linux-8de36789bd038ae24e29c40cbbc9e7d59604f54f.zip |
fpga: zynq-fpga: Rename 'timeout' variable as 'time_left'
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.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20240729104319.2658-2-wsa+renesas@sang-engineering.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions