aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2022-10-25 12:02:48 +0300
committerVinod Koul <[email protected]>2022-11-08 10:43:57 +0530
commit28cbe5a0a46a6637adbda52337d7b2777fc04027 (patch)
tree3881f8bd9036c0173e79b96390142dec336ce18c /drivers/usb/cdns3/cdns3-debug.h
parent580ee84405c27d6ed419abe4d2b3de1968abdafd (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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions