Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@xxxxxxxxxx>: On Tue, 3 Sep 2024 19:15:36 +0200 you wrote: > When reading registers from the PHY using the SIOCGMIIREG IOCTL any > errors returned from either mdiobus_read() or mdiobus_c45_read() are > ignored, and parts of the returned error is passed as the register value > back to user-space. > > For example, if mdiobus_c45_read() is used with a bus that do not > implement the read_c45() callback -EOPNOTSUPP is returned. This is > however directly stored in mii_data->val_out and returned as the > registers content. As val_out is a u16 the error code is truncated and > returned as a plausible register value. > > [...] Here is the summary with links: - [net-next] net: phy: Check for read errors in SIOCGMIIREG https://git.kernel.org/netdev/net-next/c/569bf6d481b0 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html