bonding:fix checkpatch errors comments and space
authorWang Yufen <wangyufen@huawei.com>
Fri, 14 Feb 2014 09:15:13 +0000 (17:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Feb 2014 21:20:22 +0000 (16:20 -0500)
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c

index b3b26b057121b7946013aa2c5f39fd839271e2e2..af5ea212c793209b08da8ac4631537bd7cf922c6 100644 (file)
@@ -610,10 +610,10 @@ static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *sla
                }
        }
 
-       // update the team's flag only after the whole iteration
+       /* update the team's flag only after the whole iteration */
        if (ntt) {
                bond_info->rx_ntt = 1;
-               //fasten the change
+               /* fasten the change */
                bond_info->rlb_update_retry_counter = RLB_UPDATE_RETRY;
        }
 
@@ -771,7 +771,7 @@ static struct slave *rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond)
                */
                tx_slave = rlb_choose_channel(skb, bond);
                if (tx_slave) {
-                       memcpy(arp->mac_src,tx_slave->dev->dev_addr, ETH_ALEN);
+                       memcpy(arp->mac_src, tx_slave->dev->dev_addr, ETH_ALEN);
                }
                pr_debug("Server sent ARP Reply packet\n");
        } else if (arp->op_code == htons(ARPOP_REQUEST)) {