mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
tc_vlan: fix type of tcfv_push_vid
Should be u16. So fix it to kill the sparse warning.
Fixes: c7e2b9689e
"sched: introduce vlan action"
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d8182804cf
commit
08dcf9fd19
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
struct tcf_vlan {
|
struct tcf_vlan {
|
||||||
struct tcf_common common;
|
struct tcf_common common;
|
||||||
int tcfv_action;
|
int tcfv_action;
|
||||||
__be16 tcfv_push_vid;
|
u16 tcfv_push_vid;
|
||||||
__be16 tcfv_push_proto;
|
__be16 tcfv_push_proto;
|
||||||
};
|
};
|
||||||
#define to_vlan(a) \
|
#define to_vlan(a) \
|
||||||
|
|
Loading…
Reference in a new issue