Subject: [PATCH 2/8] bonding: use net_device_ops

From: Stephen Hemminger <[email-masked]>
Date: Mon, 05 Jan 2009 12:14:44 -0800

Use the correct pointer in debug message.

Signed-off-by: Stephen Hemminger <[email-masked]>

--- a/drivers/net/bonding/bond_main.c	2009-01-01 22:44:01.785587952 -0800
+++ b/drivers/net/bonding/bond_main.c	2009-01-01 22:45:06.886088340 -0800
@@ -4148,7 +4148,7 @@ static int bond_change_mtu(struct net_de
 
 	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);

--