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

[email protected]
Newsgroups org.kernel.vger.netdev,org.kernel.vger.linux-kernel
Message-ID <178701060564.1794559.14041650086891150375.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.