summaryrefslogtreecommitdiffstats
path: root/include/net/genetlink.h
diff options
context:
space:
mode:
authorPer Liden <per.liden@ericsson.com>2006-01-03 14:13:29 -0800
committerDavid S. Miller <davem@davemloft.net>2006-01-03 14:13:29 -0800
commitb461d2f2188c1c578ed651e4cdf608be7a993cd4 (patch)
tree0a53ece878f2f5e3accdf45cdc76bdd1b2ef62f5 /include/net/genetlink.h
parentfd19f329a32bdc4eb07885e0b3889567cfe00aa7 (diff)
downloadop-kernel-dev-b461d2f2188c1c578ed651e4cdf608be7a993cd4.zip
op-kernel-dev-b461d2f2188c1c578ed651e4cdf608be7a993cd4.tar.gz
[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 'include/net/genetlink.h')
-rw-r--r--include/net/genetlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h
index 52d8b1a..c5b96b2 100644
--- a/include/net/genetlink.h
+++ b/include/net/genetlink.h
@@ -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,
OpenPOWER on IntegriCloud