summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-16 19:02:15 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:01:35 -0700
commit6ed8a48582c08432e84e5610564c1d25fe00dd7f (patch)
tree3508cea2d856ec8405059815bd9eba4a67c8a5cd /include
parent20380731bc2897f2952ae055420972ded4cd786e (diff)
downloadlinux-6ed8a48582c08432e84e5610564c1d25fe00dd7f.tar.gz
linux-6ed8a48582c08432e84e5610564c1d25fe00dd7f.tar.bz2
linux-6ed8a48582c08432e84e5610564c1d25fe00dd7f.zip
[NETLINK]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 7d1d9683b246..167518668936 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -129,7 +129,7 @@ extern struct sock *netlink_kernel_create(int unit, unsigned int groups, void (*
extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock);
extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid,
- __u32 group, int allocation);
+ __u32 group, unsigned int __nocast allocation);
extern void netlink_set_err(struct sock *ssk, __u32 pid, __u32 group, int code);
extern int netlink_register_notifier(struct notifier_block *nb);
extern int netlink_unregister_notifier(struct notifier_block *nb);