Skip to content

Commit

Permalink
tc_vlan: fix type of tcfv_push_vid
Browse files Browse the repository at this point in the history
Should be u16. So fix it to kill the sparse warning.

Fixes: c7e2b96 "sched: introduce vlan action"
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Nov 24, 2014
1 parent d818280 commit 08dcf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/tc_act/tc_vlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 08dcf9f

Please sign in to comment.