Re: [PATCH net-next] r8152: Use ocp/mdio test and clear functions in r8157_hw_phy_cfg()
From: patchwork-bot+netdevbpf
Date: Wed Apr 29 2026 - 21:01:47 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 28 Apr 2026 05:44:58 +0200 you wrote:
> Replace explicit testing of bits and clearing these bits by existing
> functions ocp_word_test_and_clr_bits() and r8152_mdio_test_and_clr_bit()
> to re-use this code.
>
> This allows to remove the "ocp_data" variable. Also remove the "ret" variable
> which was incorrectly used for the r8153_phy_status() return value which
> is a u16, so that the remaining "data" variable is sufficient.
>
> [...]
Here is the summary with links:
- [net-next] r8152: Use ocp/mdio test and clear functions in r8157_hw_phy_cfg()
https://git.kernel.org/netdev/net-next/c/b7ebbf9f7aea
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html