[lvc-project] [PATCH net] net: phy: fix phy_read_poll_timeout argument type in genphy_loopback
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Tue Mar 19 18:20:28 MSK 2024
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Fri, 15 Mar 2024 20:50:52 +0300 you wrote:
> read_poll_timeout inside phy_read_poll_timeout can set val negative
> in some cases (for example, __mdiobus_read inside phy_read can return
> -EOPNOTSUPP).
>
> Supposedly, commit 4ec732951702 ("net: phylib: fix phy_read*_poll_timeout()")
> should fix problems with wrong-signed vals, but I do not see how
> as val is sent to phy_read as is and __val = phy_read (not val)
> is checked for sign.
>
> [...]
Here is the summary with links:
- [net] net: phy: fix phy_read_poll_timeout argument type in genphy_loopback
https://git.kernel.org/netdev/net/c/32fa4366cc4d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the lvc-project
mailing list