Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:
On Mon, 7 Sep 2026 22:46:32 +0300 you wrote:
In generic_ocp_{read,write}(), the *while* loops look very strange:
the last iteration is implemented differently to the previous ones
(doing some useless assignments before *break*) for no good reason.
Merge the different iterations into one, using the local variables
in the loop bodies...
Found by Linux Verification Center (linuxtesting.org) with the Svace
static analysis tool.
[...]
Here is the summary with links:
- [net-next,v3] r8152: simplify loops in generic_ocp_{read,write}()
https://git.kernel.org/netdev/net-next/c/f217004a40c4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html