Re: [PATCH net] net: dsa: Do not make user port errors fatal

From: Andrew Lunn
Date: Mon May 04 2020 - 09:28:10 EST


On Sun, May 03, 2020 at 08:50:57PM -0700, Florian Fainelli wrote:
> Prior to 1d27732f411d ("net: dsa: setup and teardown ports"), we would
> not treat failures to set-up an user port as fatal, but after this
> commit we would, which is a regression for some systems where interfaces
> may be declared in the Device Tree, but the underlying hardware may not
> be present (pluggable daughter cards for instance).
>
> Fixes: 1d27732f411d ("net: dsa: setup and teardown ports")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew