projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02bdff
)
net: dsa: do not warn unsupported bridge ops
author
Vivien Didelot
<vivien.didelot@savoirfairelinux.com>
Sun, 11 Oct 2015 22:08:37 +0000
(18:08 -0400)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Oct 2015 11:26:30 +0000
(
04:26
-0700)
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>
net/dsa/slave.c
patch
|
blob
|
blame
|
history
diff --git
a/net/dsa/slave.c
b/net/dsa/slave.c
index bb2bd3b56b1611b94b75bb8d05a1387e4ab37904..43d7342e7527114d5a192598aa670f82465ba772 100644
(file)
--- a/
net/dsa/slave.c
+++ b/
net/dsa/slave.c
@@
-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;