aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-07-24 11:06:56 -0500
committerJakub Kicinski <kuba@kernel.org>2024-07-30 09:00:12 -0700
commit0aa3ca956c46d849775eae1816cef8fe4bc8b50e (patch)
treeda6f99e7e7fa210545e2610dfa0dda6f463fd44f /scripts/generate_rust_analyzer.py
parentf558120cd709682b739207b48cf7479fd9568431 (diff)
net: mvpp2: Don't re-use loop iterator
This function has a nested loop. The problem is that both the inside and outside loop use the same variable as an iterator. I found this via static analysis so I'm not sure the impact. It could be that it loops forever or, more likely, the loop exits early. Fixes: 3a616b92a9d1 ("net: mvpp2: Add TX flow control support for jumbo frames") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/eaa8f403-7779-4d81-973d-a9ecddc0bf6f@stanley.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions