Re: [PATCH net] net: phy: fix phy_read_poll_timeout argument type in genphy_loopback
From: patchwork-bot+netdevbpf
Date: Tue Mar 19 2024 - 11:20:37 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
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