You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: dsa: do not warn unsupported bridge ops
A DSA driver may not provide the port_join_bridge and port_leave_bridge functions, so don't warn in such case. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f02bdffca2
commit
efd29b3d82
+1
-1
@@ -1276,7 +1276,7 @@ int dsa_slave_netdevice_event(struct notifier_block *unused,
|
||||
goto out;
|
||||
|
||||
err = dsa_slave_master_changed(dev);
|
||||
if (err)
|
||||
if (err && err != -EOPNOTSUPP)
|
||||
netdev_warn(dev, "failed to reflect master change\n");
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user