Re: [PATCH net v2] net: dsa: Do not register devlink for unused ports

From: David Miller
Date: Fri May 18 2018 - 11:13:05 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Thu, 17 May 2018 16:55:39 -0700

> Even if commit 1d27732f411d ("net: dsa: setup and teardown ports") indicated
> that registering a devlink instance for unused ports is not a problem, and this
> is true, this can be confusing nonetheless, so let's not do it.
>
> Fixes: 1d27732f411d ("net: dsa: setup and teardown ports")
> Reported-by: Jiri Pirko <jiri@xxxxxxxxxxx>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied and queued up for -stable, thanks!