[NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8
[linux-3.10.git] / include / net / genetlink.h
index 52d8b1a73d521b5bb792148a2f17fff854aec9d6..c5b96b2b81554e452630774254c1a2ae4e9a9f34 100644 (file)
@@ -60,7 +60,7 @@ struct genl_info
  */
 struct genl_ops
 {
-       unsigned int            cmd;
+       u8                      cmd;
        unsigned int            flags;
        struct nla_policy       *policy;
        int                    (*doit)(struct sk_buff *skb,