Re: [PATCH net-next] net/sched: act_vlan: declare push_vid with host byte order

2018-03-23 Thread David Miller
From: Davide Caratti Date: Fri, 23 Mar 2018 19:31:30 +0100 > 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

[PATCH net-next] net/sched: act_vlan: declare push_vid with host byte order

2018-03-23 Thread Davide Caratti
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