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>
This commit is contained in:
parent
7b30600cc6
commit
b85b6fb139
1 changed files with 3 additions and 3 deletions
|
@ -329,7 +329,7 @@ static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp)
|
||||||
|
|
||||||
_lock_rx_hashtbl_bh(bond);
|
_lock_rx_hashtbl_bh(bond);
|
||||||
|
|
||||||
hash_index = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src));
|
hash_index = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src));
|
||||||
client_info = &(bond_info->rx_hashtbl[hash_index]);
|
client_info = &(bond_info->rx_hashtbl[hash_index]);
|
||||||
|
|
||||||
if ((client_info->assigned) &&
|
if ((client_info->assigned) &&
|
||||||
|
@ -923,7 +923,7 @@ static void rlb_src_link(struct bonding *bond, u32 ip_src_hash, u32 ip_dst_hash)
|
||||||
static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp)
|
static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp)
|
||||||
{
|
{
|
||||||
struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond));
|
struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond));
|
||||||
u32 ip_src_hash = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src));
|
u32 ip_src_hash = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src));
|
||||||
u32 index;
|
u32 index;
|
||||||
|
|
||||||
_lock_rx_hashtbl_bh(bond);
|
_lock_rx_hashtbl_bh(bond);
|
||||||
|
@ -1436,7 +1436,7 @@ int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
hash_start = (char*)eth_data->h_dest;
|
hash_start = (char *)eth_data->h_dest;
|
||||||
hash_size = ETH_ALEN;
|
hash_size = ETH_ALEN;
|
||||||
break;
|
break;
|
||||||
case ETH_P_ARP:
|
case ETH_P_ARP:
|
||||||
|
|
Loading…
Add table
Reference in a new issue