diff options
author | Wang Yufen <wangyufen@huawei.com> | 2014-02-17 03:53:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-17 16:57:28 -0500 |
commit | 22b285d63e28a110a728fc0d27d9c37c2a9c399e (patch) | |
tree | 240d5e554c796ebb7a10f2bf5fa37b794610810f /net/ipv6/addrlabel.c | |
parent | 23b45672911472bb7c34aa04a34e77c894f0e6cb (diff) |
ipv6: fix checkpatch errors with brace and "foo *bar"
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrlabel.c')
-rw-r--r-- | net/ipv6/addrlabel.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
28 | /* | 28 | /* |
29 | * Policy Table | 29 | * Policy Table |
30 | */ | 30 | */ |
31 | struct ip6addrlbl_entry | 31 | struct ip6addrlbl_entry { |
32 | { | ||
33 | #ifdef CONFIG_NET_NS | 32 | #ifdef CONFIG_NET_NS |
34 | struct net *lbl_net; | 33 | struct net *lbl_net; |
35 | #endif | 34 | #endif |
@@ -527,7 +526,7 @@ static inline int ip6addrlbl_msgsize(void) | |||
527 | + nla_total_size(4); /* IFAL_LABEL */ | 526 | + nla_total_size(4); /* IFAL_LABEL */ |
528 | } | 527 | } |
529 | 528 | ||
530 | static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr* nlh) | 529 | static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh) |
531 | { | 530 | { |
532 | struct net *net = sock_net(in_skb->sk); | 531 | struct net *net = sock_net(in_skb->sk); |
533 | struct ifaddrlblmsg *ifal; | 532 | struct ifaddrlblmsg *ifal; |