mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
[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>
This commit is contained in:
parent
fd19f329a3
commit
b461d2f218
@ -60,7 +60,7 @@ struct genl_info
|
|||||||
*/
|
*/
|
||||||
struct genl_ops
|
struct genl_ops
|
||||||
{
|
{
|
||||||
unsigned int cmd;
|
u8 cmd;
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
struct nla_policy *policy;
|
struct nla_policy *policy;
|
||||||
int (*doit)(struct sk_buff *skb,
|
int (*doit)(struct sk_buff *skb,
|
||||||
|
@ -441,7 +441,7 @@ errout:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct sk_buff *ctrl_build_msg(struct genl_family *family, u32 pid,
|
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;
|
struct sk_buff *skb;
|
||||||
int err;
|
int err;
|
||||||
|
Loading…
Reference in New Issue
Block a user