[PATCH net 0/3] net: dsa: mt7530: fix swallowed MDIO read errors
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Wed Jul 29 17:40:10 PDT 2026
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Tue, 28 Jul 2026 05:52:05 +0100 you wrote:
> While working on a register access cleanup for the mt7530 driver, the
> Sashiko AI reviewers flagged long-standing error handling gaps in the
> driver's read paths [1].
>
> The MDIO regmap backend truncates negative bus->read() errnos into u16
> register halves and returns success, handing garbage data to callers
> and to read-modify-write cycles which then write it back to the switch.
>
> [...]
Here is the summary with links:
- [net,1/3] net: dsa: mt7530: check bus->read() errors in the MDIO regmap backend
https://git.kernel.org/netdev/net/c/b4ce102b2cd8
- [net,2/3] net: dsa: mt7530: error out on failed reads in ATC/VTCR command polling
https://git.kernel.org/netdev/net/c/ed9adac35b8f
- [net,3/3] net: dsa: mt7530: error out on failed reads in MT7531 PHY polling
https://git.kernel.org/netdev/net/c/77a9ebe8818c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the Linux-mediatek
mailing list