diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-08-06 00:51:20 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-08-09 08:56:39 +0300 |
| commit | f89906691495eff7a8b5809f63025bb02abd779e (patch) | |
| tree | cc76ad7b6f51dec5ab79a4b95daf3efe31a50e62 /scripts/patch-kernel | |
| parent | b09b6f26adc407b0af7a7ad767f1e753a348d951 (diff) | |
| download | linux-f89906691495eff7a8b5809f63025bb02abd779e.tar.xz | |
media: tegra-vde: use 'time_left' variable with wait_for_completion_interruptible_timeout()
There is a confusing pattern in the kernel to use a variable named
'timeout' to store the result of
wait_for_completion_interruptible_timeout() causing patterns like:
timeout = wait_for_completion_interruptible_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: Thierry Reding <treding@nvidia.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
