diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-04-30 14:15:51 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-05-10 17:15:25 +0800 |
commit | e02ea6f9f2590cc721d0b921c2f2e650105a654c (patch) | |
tree | c57ad64ce945675bc57d5d84bf27c45cc3931e3a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 98f9e447134be08d2edd696bb103ab6068fd3956 (diff) |
crypto: sahara - 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.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions