[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172549563324.1208771.16266964158237189171.git-patchwork-notify@kernel.org>
Date: Thu, 05 Sep 2024 00:20:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Niklas Söderlund <niklas.soderlund+renesas@...natech.@...eaurora.org,
se>@codeaurora.org
Cc: andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [net-next] net: phy: Check for read errors in SIOCGMIIREG
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
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
Powered by blists - more mailing lists