projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af04908
)
bonding: use net_device_ops
author
Stephen Hemminger
<shemminger@vyatta.com>
Tue, 6 Jan 2009 18:41:56 +0000
(10:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Jan 2009 18:41:56 +0000
(10:41 -0800)
Use the correct pointer in debug message.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index 460c2cad2755d2c5df58b626eceb280619271632..9fb388388fb72e6990e697843ac68158fb565bf0 100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-4148,7
+4148,7
@@
static int bond_change_mtu(struct net_device *bond_dev, int new_mtu)
bond_for_each_slave(bond, slave, i) {
pr_debug("s %p s->p %p c_m %p\n", slave,
- slave->prev, slave->dev->change_mtu);
+ slave->prev, slave->dev->
netdev_ops->ndo_
change_mtu);
res = dev_set_mtu(slave->dev, new_mtu);