projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netlink: make nlmsg_end() and genlmsg_end() void
[cascardo/linux.git]
/
net
/
can
/
gw.c
diff --git
a/net/can/gw.c
b/net/can/gw.c
index
295f62e
..
a6f448e
100644
(file)
--- a/
net/can/gw.c
+++ b/
net/can/gw.c
@@
-575,7
+575,8
@@
static int cgw_put_job(struct sk_buff *skb, struct cgw_job *gwj, int type,
goto cancel;
}
- return nlmsg_end(skb, nlh);
+ nlmsg_end(skb, nlh);
+ return 0;
cancel:
nlmsg_cancel(skb, nlh);