Skip to content

Commit

Permalink
net/ipv6/sit.c: Checkpatch cleanup
Browse files Browse the repository at this point in the history
sit.c:118: ERROR: "foo * bar" should be "foo *bar"
sit.c:694: ERROR: "(foo*)" should be "(foo *)"
sit.c:724: ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: Eldad Zack <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
eldad authored and davem330 committed Apr 2, 2012
1 parent b3fe91c commit 3e86670
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/ipv6/sit.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static struct net_device_stats *ipip6_get_stats(struct net_device *dev)
/*
* Must be invoked with rcu_read_lock
*/
static struct ip_tunnel * ipip6_tunnel_lookup(struct net *net,
static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net,
struct net_device *dev, __be32 remote, __be32 local)
{
unsigned int h0 = HASH(remote);
Expand Down Expand Up @@ -691,7 +691,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb,
goto tx_error;
}

addr6 = (const struct in6_addr*)&neigh->primary_key;
addr6 = (const struct in6_addr *)&neigh->primary_key;
addr_type = ipv6_addr_type(addr6);

if ((addr_type & IPV6_ADDR_UNICAST) &&
Expand Down Expand Up @@ -721,7 +721,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb,
goto tx_error;
}

addr6 = (const struct in6_addr*)&neigh->primary_key;
addr6 = (const struct in6_addr *)&neigh->primary_key;
addr_type = ipv6_addr_type(addr6);

if (addr_type == IPV6_ADDR_ANY) {
Expand Down

0 comments on commit 3e86670

Please sign in to comment.