diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2012-04-01 03:49:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-02 04:33:45 -0400 |
commit | 3e866703cbf8a832cd857426c5a9989b16037138 (patch) | |
tree | 36959ba4be68f2d1cc530d9a985c5b5744d68361 /net | |
parent | b3fe91c53a0a2e1a665b451bd306bcb5e56c2e97 (diff) |
net/ipv6/sit.c: Checkpatch cleanup
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 <eldad@fogrefinery.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/sit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index c4ffd1743528..f9608db9dcfb 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -115,7 +115,7 @@ static struct net_device_stats *ipip6_get_stats(struct net_device *dev) | |||
115 | /* | 115 | /* |
116 | * Must be invoked with rcu_read_lock | 116 | * Must be invoked with rcu_read_lock |
117 | */ | 117 | */ |
118 | static struct ip_tunnel * ipip6_tunnel_lookup(struct net *net, | 118 | static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net, |
119 | struct net_device *dev, __be32 remote, __be32 local) | 119 | struct net_device *dev, __be32 remote, __be32 local) |
120 | { | 120 | { |
121 | unsigned int h0 = HASH(remote); | 121 | unsigned int h0 = HASH(remote); |
@@ -691,7 +691,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, | |||
691 | goto tx_error; | 691 | goto tx_error; |
692 | } | 692 | } |
693 | 693 | ||
694 | addr6 = (const struct in6_addr*)&neigh->primary_key; | 694 | addr6 = (const struct in6_addr *)&neigh->primary_key; |
695 | addr_type = ipv6_addr_type(addr6); | 695 | addr_type = ipv6_addr_type(addr6); |
696 | 696 | ||
697 | if ((addr_type & IPV6_ADDR_UNICAST) && | 697 | if ((addr_type & IPV6_ADDR_UNICAST) && |
@@ -721,7 +721,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, | |||
721 | goto tx_error; | 721 | goto tx_error; |
722 | } | 722 | } |
723 | 723 | ||
724 | addr6 = (const struct in6_addr*)&neigh->primary_key; | 724 | addr6 = (const struct in6_addr *)&neigh->primary_key; |
725 | addr_type = ipv6_addr_type(addr6); | 725 | addr_type = ipv6_addr_type(addr6); |
726 | 726 | ||
727 | if (addr_type == IPV6_ADDR_ANY) { | 727 | if (addr_type == IPV6_ADDR_ANY) { |