]> Pileus Git - ~andy/linux/blobdiff - net/netlink/genetlink.c
[NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8
[~andy/linux] / net / netlink / genetlink.c
index 287cfcc56951a86d145bd442a5dd7e9229de44e5..3b1378498d50b12647f2ea433a341b16502e1ac9 100644 (file)
@@ -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;