From: Wang Yufen Date: Mon, 17 Feb 2014 08:53:33 +0000 (+0800) Subject: ipv6: fix checkpatch errors with brace and "foo *bar" X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22b285d63e28a110a728fc0d27d9c37c2a9c399e;p=linux-beck.git ipv6: fix checkpatch errors with brace and "foo *bar" Signed-off-by: Wang Yufen Signed-off-by: David S. Miller --- diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrlabel.c index b30ad3741b46..86829d3ec68a 100644 --- a/net/ipv6/addrlabel.c +++ b/net/ipv6/addrlabel.c @@ -28,8 +28,7 @@ /* * Policy Table */ -struct ip6addrlbl_entry -{ +struct ip6addrlbl_entry { #ifdef CONFIG_NET_NS struct net *lbl_net; #endif @@ -527,7 +526,7 @@ static inline int ip6addrlbl_msgsize(void) + nla_total_size(4); /* IFAL_LABEL */ } -static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr* nlh) +static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh) { struct net *net = sock_net(in_skb->sk); struct ifaddrlblmsg *ifal;