diff options
author | David S. Miller <davem@davemloft.net> | 2021-07-01 13:01:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-01 13:01:43 -0700 |
commit | 39d7101684a74ac478e0b6411bcc68307a7f1c1a (patch) | |
tree | 0ad65307473ad9b87e367cc1c6bbf607f84f8508 /net | |
parent | 1d11fa231cabeae09a95cb3e4cf1d9dd34e00f08 (diff) | |
parent | 5e437416ff66981d8154687cfdf7de50b1d82bfc (diff) |
Merge branch 'master' of ../net-next/
Diffstat (limited to 'net')
-rw-r--r-- | net/dsa/switch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dsa/switch.c b/net/dsa/switch.c index af71b8638098..248455145982 100644 --- a/net/dsa/switch.c +++ b/net/dsa/switch.c @@ -427,7 +427,7 @@ static int dsa_switch_lag_join(struct dsa_switch *ds, info->port, info->lag, info->info); - return 0; + return -EOPNOTSUPP; } static int dsa_switch_lag_leave(struct dsa_switch *ds, @@ -440,7 +440,7 @@ static int dsa_switch_lag_leave(struct dsa_switch *ds, return ds->ops->crosschip_lag_leave(ds, info->sw_index, info->port, info->lag); - return 0; + return -EOPNOTSUPP; } static int dsa_switch_mdb_add(struct dsa_switch *ds, |