diff options
author | Wang Yufen <wangyufen@huawei.com> | 2014-02-14 04:15:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-14 16:20:22 -0500 |
commit | 4708a1b1a42a623f83a4119b2970001a80b983fe (patch) | |
tree | 89f44ebe149f91813c54c9acc119e45260bccf78 /drivers/net/bonding | |
parent | b85b6fb1395561b1763de58e1de4eddbb80fed7f (diff) |
bonding:fix checkpatch errors comments and space
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index b3b26b057121..af5ea212c793 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c | |||
@@ -610,10 +610,10 @@ static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *sla | |||
610 | } | 610 | } |
611 | } | 611 | } |
612 | 612 | ||
613 | // update the team's flag only after the whole iteration | 613 | /* update the team's flag only after the whole iteration */ |
614 | if (ntt) { | 614 | if (ntt) { |
615 | bond_info->rx_ntt = 1; | 615 | bond_info->rx_ntt = 1; |
616 | //fasten the change | 616 | /* fasten the change */ |
617 | bond_info->rlb_update_retry_counter = RLB_UPDATE_RETRY; | 617 | bond_info->rlb_update_retry_counter = RLB_UPDATE_RETRY; |
618 | } | 618 | } |
619 | 619 | ||
@@ -771,7 +771,7 @@ static struct slave *rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond) | |||
771 | */ | 771 | */ |
772 | tx_slave = rlb_choose_channel(skb, bond); | 772 | tx_slave = rlb_choose_channel(skb, bond); |
773 | if (tx_slave) { | 773 | if (tx_slave) { |
774 | memcpy(arp->mac_src,tx_slave->dev->dev_addr, ETH_ALEN); | 774 | memcpy(arp->mac_src, tx_slave->dev->dev_addr, ETH_ALEN); |
775 | } | 775 | } |
776 | pr_debug("Server sent ARP Reply packet\n"); | 776 | pr_debug("Server sent ARP Reply packet\n"); |
777 | } else if (arp->op_code == htons(ARPOP_REQUEST)) { | 777 | } else if (arp->op_code == htons(ARPOP_REQUEST)) { |