Re: [PATCH net-next] net: stmmac: fix rx limit check in stmmac_rx_zc()
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-11-28 02:23:37
Also in:
linux-arm-kernel
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-11-28 02:23:37
Also in:
linux-arm-kernel
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski [off-list ref]: On Wed, 26 Nov 2025 10:43:27 +0000 you wrote:
The extra "count >= limit" check in stmmac_rx_zc() is redundant and
has no effect because the value of "count" doesn't change after the
while condition at this point.
However, it can change after "read_again:" label:
while (count < limit) {
...
[...]
Here is the summary with links:
- [net-next] net: stmmac: fix rx limit check in stmmac_rx_zc()
https://git.kernel.org/netdev/net-next/c/8048168df56e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html