diff options
author | Daniel Baluta <dbaluta@ixiacom.com> | 2012-04-15 01:34:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:37:19 -0400 |
commit | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (patch) | |
tree | ab5eebe93e10e7e69042b15603a5b3844c049f6b /net/ipv4/route.c | |
parent | 586d17c5a01bf1ae4e215adc6c48457eee5482bc (diff) | |
download | linux-stable-5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9.tar.gz linux-stable-5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9.tar.bz2 linux-stable-5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9.zip |
ipv4: fix checkpatch errors
Fix checkpatch errors of the following type:
* ERROR: "foo * bar" should be "foo *bar"
* ERROR: "(foo*)" should be "(foo *)"
Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index e4d18f2a305d..a13ce2364ed2 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2215,7 +2215,7 @@ static int ip_mkroute_input(struct sk_buff *skb, struct in_device *in_dev, __be32 daddr, __be32 saddr, u32 tos) { - struct rtable* rth = NULL; + struct rtable *rth = NULL; int err; unsigned hash; @@ -2257,11 +2257,11 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, struct flowi4 fl4; unsigned flags = 0; u32 itag = 0; - struct rtable * rth; + struct rtable *rth; unsigned hash; __be32 spec_dst; int err = -EINVAL; - struct net * net = dev_net(dev); + struct net *net = dev_net(dev); /* IP on this device is disabled. */ @@ -2433,7 +2433,7 @@ martian_source_keep_err: int ip_route_input_common(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, bool noref) { - struct rtable * rth; + struct rtable *rth; unsigned hash; int iif = dev->ifindex; struct net *net; @@ -3068,7 +3068,7 @@ nla_put_failure: return -EMSGSIZE; } -static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) +static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void *arg) { struct net *net = sock_net(in_skb->sk); struct rtmsg *rtm; |