diff options
author | Wang Yufen <wangyufen@huawei.com> | 2014-02-14 13:15:13 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-15 01:20:22 +0400 |
commit | 4708a1b1a42a623f83a4119b2970001a80b983fe (patch) | |
tree | 89f44ebe149f91813c54c9acc119e45260bccf78 /drivers/net/bonding/bond_alb.c | |
parent | b85b6fb1395561b1763de58e1de4eddbb80fed7f (diff) | |
download | linux-4708a1b1a42a623f83a4119b2970001a80b983fe.tar.xz |
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/bond_alb.c')
-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 } } - // 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)) { |