aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-11-24 05:30:26 -0500
committerDavid S. Miller <davem@davemloft.net>2014-11-24 16:12:03 -0500
commit08dcf9fd194cf19d3b282a81cc3539202e768ca4 (patch)
treee50d07b7104419f277a6ad3bfd5587a2d4a76508
parentd8182804cfd6503e73dc1c0a409903412a389541 (diff)
tc_vlan: fix type of tcfv_push_vid
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>
-rw-r--r--include/net/tc_act/tc_vlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tc_act/tc_vlan.h b/include/net/tc_act/tc_vlan.h
index c809c1d2cea5..93b70ade1ff3 100644
--- a/include/net/tc_act/tc_vlan.h
+++ b/include/net/tc_act/tc_vlan.h
@@ -18,7 +18,7 @@
18struct tcf_vlan { 18struct tcf_vlan {
19 struct tcf_common common; 19 struct tcf_common common;
20 int tcfv_action; 20 int tcfv_action;
21 __be16 tcfv_push_vid; 21 u16 tcfv_push_vid;
22 __be16 tcfv_push_proto; 22 __be16 tcfv_push_proto;
23}; 23};
24#define to_vlan(a) \ 24#define to_vlan(a) \