projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fbac2a
)
netlink: fix checkpatch errors space and "foo *bar"
author
Wang Yufen
<
[email protected]
>
Mon, 17 Feb 2014 08:53:32 +0000
(16:53 +0800)
committer
David S. Miller
<
[email protected]
>
Mon, 17 Feb 2014 21:57:28 +0000
(16:57 -0500)
ERROR: spaces required and "(foo*)" should be "(foo *)"
Signed-off-by: Wang Yufen <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/netlink/af_netlink.c
patch
|
blob
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index fdf51353cf78ac80958cadfa0e58e159970aa8bf..e42214b932c379f0ce4ffd422b10387c10d6dd52 100644
(file)
--- a/
net/netlink/af_netlink.c
+++ b/
net/netlink/af_netlink.c
@@
-1460,7
+1460,7
@@
static int netlink_bind(struct socket *sock, struct sockaddr *addr,
if (nlk->netlink_bind && nlk->groups[0]) {
int i;
- for (i
=0; i<
nlk->ngroups; i++) {
+ for (i
= 0; i <
nlk->ngroups; i++) {
if (test_bit(i, nlk->groups))
nlk->netlink_bind(i);
}
@@
-2549,7
+2549,7
@@
__nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int fla
struct nlmsghdr *nlh;
int size = nlmsg_msg_size(len);
- nlh = (struct nlmsghdr*)skb_put(skb, NLMSG_ALIGN(size));
+ nlh = (struct nlmsghdr
*)skb_put(skb, NLMSG_ALIGN(size));
nlh->nlmsg_type = type;
nlh->nlmsg_len = size;
nlh->nlmsg_flags = flags;