Re: [PATCH net] net: phy: dp83848: check phy_read() return value in config_init()
From: patchwork-bot+netdevbpf
Date: Thu Sep 03 2026 - 20:53:01 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 2 Sep 2026 15:58:27 +0900 you wrote:
> dp83848_config_init() reads BMCR to detect whether auto-negotiation is
> enabled, but does not check the phy_read() return value. On an MDIO read
> failure phy_read() returns a negative errno, which is then used directly
> in a bitwise test; the auto-negotiation state is left undefined while
> config_init() still reports success.
>
> Check the return value and propagate the error.
>
> [...]
Here is the summary with links:
- [net] net: phy: dp83848: check phy_read() return value in config_init()
https://git.kernel.org/netdev/net-next/c/8c9190bfd18a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html