diff options
| author | Wolfram Sang <[email protected]> | 2024-04-30 12:15:51 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2024-05-10 09:15:25 +0000 |
| commit | e02ea6f9f2590cc721d0b921c2f2e650105a654c (patch) | |
| tree | c57ad64ce945675bc57d5d84bf27c45cc3931e3a /drivers/crypto/intel/iaa/iaa_crypto_main.c | |
| parent | crypto: api - use 'time_left' variable with wait_for_completion_killable_time... (diff) | |
| download | kernel-e02ea6f9f2590cc721d0b921c2f2e650105a654c.tar.gz kernel-e02ea6f9f2590cc721d0b921c2f2e650105a654c.zip | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/crypto/intel/iaa/iaa_crypto_main.c')
0 files changed, 0 insertions, 0 deletions
