Re: [PATCH net-next] net/sched: cls_flower: Use correct inline function for assignment of vlan tpid

2018-07-25 Thread David Miller
From: Jianbo Liu Date: Wed, 25 Jul 2018 02:31:25 + > 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 >

[PATCH net-next] net/sched: cls_flower: Use correct inline function for assignment of vlan tpid

2018-07-24 Thread Jianbo Liu
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