Re: [PATCH net-next v2] net: phy: aquantia: fix return value check in aqr107_config_mdi()
From: patchwork-bot+netdevbpf
Date: Tue Oct 15 2024 - 13:01:16 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 13 Oct 2024 14:16:44 +0100 you wrote:
> of_property_read_u32() returns -EINVAL in case the property cannot be
> found rather than -ENOENT. Fix the check to not abort probing in case
> of the property being missing, and also in case CONFIG_OF is not set
> which will result in -ENOSYS.
>
> Fixes: a2e1ba275eae ("net: phy: aquantia: allow forcing order of MDI pairs")
> Reported-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> Closes: https://lore.kernel.org/all/114b4c03-5d16-42ed-945d-cf78eabea12b@xxxxxxxxxx/
> Suggested-by: Hans-Frieder Vogt <hfdevel@xxxxxxx>
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
>
> [...]
Here is the summary with links:
- [net-next,v2] net: phy: aquantia: fix return value check in aqr107_config_mdi()
https://git.kernel.org/netdev/net-next/c/57c28e93694d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html