Re: [PATCH net] net: dsa: mv88e6xxx: Fix PCS link check on CMODE read error

From: patchwork-bot+netdevbpf

Date: Mon Aug 17 2026 - 19:51:05 EST


Hello:

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

On Thu, 13 Aug 2026 23:31:31 +0800 you wrote:
> mv88e6352_pcs_link_check() ignores errors returned by
> port_get_cmode(). If the port status register read fails,
> mv88e6352_port_get_cmode() returns without setting cmode. The link check
> then compares an uninitialized value and may incorrectly treat the PCS
> as active.
>
> Save the return value and fail the link check after releasing the
> register lock. marvell_c22_pcs_get_state() initializes the reported link
> state to down before calling the check, so a read failure is handled
> safely until a later poll succeeds.
>
> [...]

Here is the summary with links:
- [net] net: dsa: mv88e6xxx: Fix PCS link check on CMODE read error
https://git.kernel.org/netdev/net/c/7b196e27ad58

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