Commit 08dcf9fd authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

tc_vlan: fix type of tcfv_push_vid

Should be u16. So fix it to kill the sparse warning.

Fixes: c7e2b968 "sched: introduce vlan action"
Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d8182804
...@@ -18,7 +18,7 @@ ...@@ -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) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment