Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dsa: Fix dsa_legacy_register() return value
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: 2a93c1a ("net: dsa: Allow compiling out legacy support") Reported-by: Egil Hjelmeland <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information