tc_vlan: fix type of tcfv_push_vid
authorJiri Pirko <jiri@resnulli.us>
Mon, 24 Nov 2014 10:30:26 +0000 (11:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 21:12:03 +0000 (16:12 -0500)
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>
include/net/tc_act/tc_vlan.h

index c809c1d2cea56f7b961feb1eb756bc5291297cf9..93b70ade1ff3fb9a66ec1178d652fe3083cd338c 100644 (file)
@@ -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) \