Re: [PATCH net] net: dsa: microchip: Fix a link check in ksz9477_pcs_read()

From: patchwork-bot+netdevbpf

Date: Wed Nov 05 2025 - 21:10:42 EST


Hello:

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

On Fri, 31 Oct 2025 16:05:01 +0300 you wrote:
> The BMSR_LSTATUS define is 0x4 but the "p->phydev.link" variable
> is a 1 bit bitfield in a u32. Since 4 doesn't fit in 0-1 range
> it means that ".link" is always set to false. Add a !! to fix
> this.
>
> Fixes: e8c35bfce4c1 ("net: dsa: microchip: Add SGMII port support to KSZ9477 switch")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] net: dsa: microchip: Fix a link check in ksz9477_pcs_read()
https://git.kernel.org/netdev/net-next/c/c79a02252457

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