aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2024-07-29 12:42:23 +0200
committerXu Yilun <[email protected]>2024-08-14 23:58:14 +0800
commit8de36789bd038ae24e29c40cbbc9e7d59604f54f (patch)
treea2a5c526fdf47471a981a946e0feafb0740b93c6 /lib/test_fortify/write_overflow-strncpy.c
parent4168ced7e02bef642a3641aec3b81107a5996707 (diff)
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 <[email protected]> Acked-by: Michal Simek <[email protected]> Acked-by: Xu Yilun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions