Re: [PATCH net] net: mvpp2: Don't re-use loop iterator

From: patchwork-bot+netdevbpf
Date: Tue Jul 30 2024 - 12:21:21 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 24 Jul 2024 11:06:56 -0500 you wrote:
> 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@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] net: mvpp2: Don't re-use loop iterator
https://git.kernel.org/netdev/net/c/0aa3ca956c46

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html