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>
This commit is contained in:

committed by
David S. Miller

parent
586d17c5a0
commit
5e73ea1a31
@@ -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;
|
||||
|
Reference in New Issue
Block a user