diff options
author | Jianbo Liu <jianbol@mellanox.com> | 2018-07-25 02:31:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-25 16:33:02 -0700 |
commit | 158abbf170ecfc6d56abeddd0c66da753b3435df (patch) | |
tree | ee23b72934de3a290714efb6fb45af25ee149b8b /certs | |
parent | 7cc77bf4c29c88af8d3d02d6dc88a71f85ecb1b6 (diff) |
net/sched: cls_flower: Use correct inline function for assignment of vlan tpid
This fixes the following sparse warning:
net/sched/cls_flower.c:1356:36: warning: incorrect type in argument 3 (different base types)
net/sched/cls_flower.c:1356:36: expected unsigned short [unsigned] [usertype] value
net/sched/cls_flower.c:1356:36: got restricted __be16 [usertype] vlan_tpid
Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions