]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ipv6: fix checkpatch errors with brace and "foo *bar"
authorWang Yufen <wangyufen@huawei.com>
Mon, 17 Feb 2014 08:53:33 +0000 (16:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2014 21:57:28 +0000 (16:57 -0500)
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrlabel.c

index b30ad3741b46732ee2c38bc851fa759ac02ff698..86829d3ec68a88e034aebc5aee2d852496d1dc63 100644 (file)
@@ -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 nlmsghdrnlh)
+static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh)
 {
        struct net *net = sock_net(in_skb->sk);
        struct ifaddrlblmsg *ifal;