summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2018-03-23 21:31:30 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-24 04:54:07 +0300
commit94cb5492409219ee3f9468616dd58af314029f76 (patch)
tree33d5ac08e6b6186b34c2539a4b0f07b30e6039d1 /drivers
parentaffaa0c724c14c914625647efe7b95dfbe8d08f2 (diff)
downloadlinux-94cb5492409219ee3f9468616dd58af314029f76.tar.xz
net/sched: act_vlan: declare push_vid with host byte order
use u16 in place of __be16 to suppress the following sparse warnings: net/sched/act_vlan.c:150:26: warning: incorrect type in assignment (different base types) net/sched/act_vlan.c:150:26: expected restricted __be16 [usertype] push_vid net/sched/act_vlan.c:150:26: got unsigned short net/sched/act_vlan.c:151:21: warning: restricted __be16 degrades to integer net/sched/act_vlan.c:208:26: warning: incorrect type in assignment (different base types) net/sched/act_vlan.c:208:26: expected unsigned short [unsigned] [usertype] tcfv_push_vid net/sched/act_vlan.c:208:26: got restricted __be16 [usertype] push_vid Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions