diff options
| author | Florian Fainelli <[email protected]> | 2017-12-29 11:05:45 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-01-02 21:52:48 -0500 |
| commit | 21602e1a5578925f610155a0bcf056d1ea9de964 (patch) | |
| tree | f3a4cbfccb0b5bee0f01930e1c81661605d734ee /lib/mpi/mpi-cmp.c | |
| parent | f619b009009f5b9fb9ee82b93f789b66cb333e36 (diff) | |
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: 2a93c1a3651f ("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]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions