netlink: make nlmsg_end() and genlmsg_end() void
[deliverable/linux.git] / net / decnet / dn_dev.c
index 4400da7739dafb3c3d42e52829086b9d3e418505..b2c26b081134a0c5b3697bfbad0148a029a5b95e 100644 (file)
@@ -702,7 +702,8 @@ static int dn_nl_fill_ifaddr(struct sk_buff *skb, struct dn_ifaddr *ifa,
             nla_put_string(skb, IFA_LABEL, ifa->ifa_label)) ||
             nla_put_u32(skb, IFA_FLAGS, ifa_flags))
                goto nla_put_failure;
-       return nlmsg_end(skb, nlh);
+       nlmsg_end(skb, nlh);
+       return 0;
 
 nla_put_failure:
        nlmsg_cancel(skb, nlh);
This page took 0.023544 seconds and 5 git commands to generate.