Re: [PATCH net-next] net: dsa: Fix dsa_legacy_register() return value

From: David Miller
Date: Tue Jan 02 2018 - 21:53:12 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Fri, 29 Dec 2017 11:05:45 -0800

> We need to make the dsa_legacy_register() stub return 0 in order for
> dsa_init_module() to successfully register and continue registering the
> ETH_P_XDSA packet handler.
>
> Fixes: 2a93c1a3651f ("net: dsa: Allow compiling out legacy support")
> Reported-by: Egil Hjelmeland <privat@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied, thanks Florian.