diff options
author | Wang Yufen <wangyufen@huawei.com> | 2014-02-14 04:15:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-14 16:20:22 -0500 |
commit | b85b6fb1395561b1763de58e1de4eddbb80fed7f (patch) | |
tree | 17d7824e224cbdc6ecca01a89991ae88bba36eff /drivers/net/bonding/bond_alb.c | |
parent | 7b30600cc653be63cfa434e49acc3c434699ae0b (diff) |
bonding:fix checkpatch errors with foo* bar|foo * bar
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 a2c47476804d..b3b26b057121 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c | |||
@@ -329,7 +329,7 @@ static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) | |||
329 | 329 | ||
330 | _lock_rx_hashtbl_bh(bond); | 330 | _lock_rx_hashtbl_bh(bond); |
331 | 331 | ||
332 | hash_index = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src)); | 332 | hash_index = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); |
333 | client_info = &(bond_info->rx_hashtbl[hash_index]); | 333 | client_info = &(bond_info->rx_hashtbl[hash_index]); |
334 | 334 | ||
335 | if ((client_info->assigned) && | 335 | if ((client_info->assigned) && |
@@ -923,7 +923,7 @@ static void rlb_src_link(struct bonding *bond, u32 ip_src_hash, u32 ip_dst_hash) | |||
923 | static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp) | 923 | static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp) |
924 | { | 924 | { |
925 | struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); | 925 | struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); |
926 | u32 ip_src_hash = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src)); | 926 | u32 ip_src_hash = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); |
927 | u32 index; | 927 | u32 index; |
928 | 928 | ||
929 | _lock_rx_hashtbl_bh(bond); | 929 | _lock_rx_hashtbl_bh(bond); |
@@ -1436,7 +1436,7 @@ int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) | |||
1436 | break; | 1436 | break; |
1437 | } | 1437 | } |
1438 | 1438 | ||
1439 | hash_start = (char*)eth_data->h_dest; | 1439 | hash_start = (char *)eth_data->h_dest; |
1440 | hash_size = ETH_ALEN; | 1440 | hash_size = ETH_ALEN; |
1441 | break; | 1441 | break; |
1442 | case ETH_P_ARP: | 1442 | case ETH_P_ARP: |