Should be u16. So fix it to kill the sparse warning. Fixes: c7e2b9689ef8136 "sched: introduce vlan action" Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
@@ -18,7 +18,7 @@
struct tcf_vlan {
struct tcf_common common;
int tcfv_action;
- __be16 tcfv_push_vid;
+ u16 tcfv_push_vid;
__be16 tcfv_push_proto;
};
#define to_vlan(a) \