summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorPer Liden <per.liden@ericsson.com>2006-01-03 23:13:29 +0100
committerDavid S. Miller <davem@davemloft.net>2006-01-03 23:13:29 +0100
commitb461d2f2188c1c578ed651e4cdf608be7a993cd4 (patch)
tree0a53ece878f2f5e3accdf45cdc76bdd1b2ef62f5 /net/netlink
parent[AF_UNIX]: Convert to use a spinlock instead of rwlock (diff)
downloadlinux-b461d2f2188c1c578ed651e4cdf608be7a993cd4.tar.xz
linux-b461d2f2188c1c578ed651e4cdf608be7a993cd4.zip
[NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8
Signed-off-by: Per Liden <per.liden@ericsson.com> ACKed-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
-rw-r--r--net/netlink/genetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c
index 287cfcc56951..3b1378498d50 100644
--- a/net/netlink/genetlink.c
+++ b/net/netlink/genetlink.c
@@ -441,7 +441,7 @@ errout:
}
static struct sk_buff *ctrl_build_msg(struct genl_family *family, u32 pid,
- int seq, int cmd)
+ int seq, u8 cmd)
{
struct sk_buff *skb;
int err;