Re: [PATCH net v2] net: dsa: felix: suppress -EPROBE_DEFER errors

From: Vladimir Oltean
Date: Fri Apr 08 2022 - 08:46:44 EST


On Fri, Apr 08, 2022 at 12:15:21PM +0200, Michael Walle wrote:
> The DSA master might not have been probed yet in which case the probe of
> the felix switch fails with -EPROBE_DEFER:
> [ 4.435305] mscc_felix 0000:00:00.5: Failed to register DSA switch: -517
>
> It is not an error. Use dev_err_probe() to demote this particular error
> to a debug message.
>
> Fixes: 56051948773e ("net: dsa: ocelot: add driver for Felix switch family")
> Signed-off-by: Michael Walle <michael@xxxxxxxx>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>