diff options
author | Tudor Ambarus <[email protected]> | 2022-10-25 12:02:48 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-11-08 10:43:57 +0530 |
commit | 28cbe5a0a46a6637adbda52337d7b2777fc04027 (patch) | |
tree | 3881f8bd9036c0173e79b96390142dec336ce18c /lib/memory-notifier-error-inject.c | |
parent | 580ee84405c27d6ed419abe4d2b3de1968abdafd (diff) |
dmaengine: at_hdmac: Fix impossible condition
The iterator can not be greater than ATC_MAX_DSCR_TRIALS, as the for loop
will stop when i == ATC_MAX_DSCR_TRIALS. While here, use the common "i"
name for the iterator.
Fixes: 93dce3a6434f ("dmaengine: at_hdmac: fix residue computation")
Signed-off-by: Tudor Ambarus <[email protected]>
Cc: [email protected]
Acked-by: Nicolas Ferre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions