Subject: Re: [PATCH net] net: lan966x: check devm_of_phy_get() for -EDEFER_PROBE

From: [email-masked]
Date: Fri, 27 May 2022 04:48:33 +0000

Hello:

This patch was applied to bpf/bpf.git (master)
by Jakub Kicinski <[email-masked]>:

On Thu, 26 May 2022 01:12:39 +0200 you wrote:
> At the moment, if devm_of_phy_get() returns an error the serdes
> simply isn't set. While it is bad to ignore an error in general, there
> is a particular bug that network isn't working if the serdes driver is
> compiled as a module. In that case, devm_of_phy_get() returns
> -EDEFER_PROBE and the error is silently ignored.
> 
> The serdes is optional, it is not there if the port is using RGMII, in
> which case devm_of_phy_get() returns -ENODEV. Rearrange the error
> handling so that -ENODEV will be handled but other error codes will
> abort the probing.
> 
> [...]

Here is the summary with links:
  - [net] net: lan966x: check devm_of_phy_get() for -EDEFER_PROBE
    https://git.kernel.org/bpf/bpf/c/b58cdd4388b1

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html