diff options
| author | Mark Brown <broonie@kernel.org> | 2024-05-07 10:38:11 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-05-07 10:38:11 +0900 |
| commit | 741e987d04324810a832205052872be45ecaf9f6 (patch) | |
| tree | d0f4e3542c0f9e8b0c36dec14bd3adc18cf356f3 /scripts/generate_rust_analyzer.py | |
| parent | ASoC: Use snd_soc_substream_to_rtd() for accessing (diff) | |
| parent | ASoC: codecs: wm8996: use 'time_left' variable with wait_for_completion_timeo... (diff) | |
| download | linux-741e987d04324810a832205052872be45ecaf9f6.tar.gz linux-741e987d04324810a832205052872be45ecaf9f6.zip | |
ASoC: use 'time_left' instead of 'timeout' with
Merge series from Wolfram Sang <wsa+renesas@sang-engineering.com>:
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_*() functions 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
obvious and self explaining.
This is part of a tree-wide series. The rest of the patches can be found here
(some parts may still be WIP):
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/time_left
Because these patches are generated, I audit them before sending. This is why I
will send series step by step. Build bot is happy with these patches, though.
No functional changes intended.
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
