]> err.no Git - linux-2.6/commitdiff
[PATCH] bonding: spelling and whitespace corrections
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 9 Nov 2005 18:36:50 +0000 (10:36 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Sun, 13 Nov 2005 19:48:21 +0000 (14:48 -0500)
Minor spelling and whitespace corrections.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h

index 24f4a3d14991711646fad11a9e22ce11d0569ffa..9bd1e104554a35bcf5c3a24692056ce218af8c81 100644 (file)
@@ -1417,7 +1417,7 @@ void bond_alb_monitor(struct bonding *bond)
                read_lock(&bond->curr_slave_lock);
 
                bond_for_each_slave(bond, slave, i) {
-                       alb_send_learning_packets(slave,slave->dev->dev_addr);
+                       alb_send_learning_packets(slave, slave->dev->dev_addr);
                }
 
                read_unlock(&bond->curr_slave_lock);
index 5ac9718c598875a72872dc00284e6383cba07d93..c7cd6b96d2c06906a27b6f74aed27e754f75a657 100644 (file)
@@ -4125,6 +4125,7 @@ static int bond_change_mtu(struct net_device *bond_dev, int new_mtu)
        bond_for_each_slave(bond, slave, i) {
                dprintk("s %p s->p %p c_m %p\n", slave,
                        slave->prev, slave->dev->change_mtu);
+
                res = dev_set_mtu(slave->dev, new_mtu);
 
                if (res) {
index 88b8981d24b0202bcc104aa780c8367a5c7cd159..ef4b11c4006ee7f5fe9a61abc428b3c64348d594 100644 (file)
@@ -165,7 +165,7 @@ struct vlan_entry {
 };
 
 struct slave {
-       struct net_device *dev; /* first - usefull for panic debug */
+       struct net_device *dev; /* first - useful for panic debug */
        struct slave *next;
        struct slave *prev;
        s16    delay;
@@ -191,7 +191,7 @@ struct slave {
  *    beforehand.
  */
 struct bonding {
-       struct   net_device *dev; /* first - usefull for panic debug */
+       struct   net_device *dev; /* first - useful for panic debug */
        struct   slave *first_slave;
        struct   slave *curr_active_slave;
        struct   slave *current_arp_slave;