Re: [ovs-dev] [PATCH v2] tc: Fix sparse warnings.

2018-07-25 Thread Ben Pfaff
On Wed, Jul 25, 2018 at 03:34:52PM -0400, Aaron Conole wrote: > Ben Pfaff writes: > > > Fixes the following warnings: > > > > ../lib/tc.c:817:37: error: incorrect type in assignment (different base > > types) > > ../lib/tc.c:817:37:expected restricted ovs_be16 [usertype] > > vlan_pu

Re: [ovs-dev] [PATCH v2] tc: Fix sparse warnings.

2018-07-25 Thread Aaron Conole
Ben Pfaff writes: > Fixes the following warnings: > > ../lib/tc.c:817:37: error: incorrect type in assignment (different base > types) > ../lib/tc.c:817:37:expected restricted ovs_be16 [usertype] > vlan_push_tpid > ../lib/tc.c:817:37:got unsigned short > ../lib/tc.c:1522

[ovs-dev] [PATCH v2] tc: Fix sparse warnings.

2018-07-25 Thread Ben Pfaff
Fixes the following warnings: ../lib/tc.c:817:37: error: incorrect type in assignment (different base types) ../lib/tc.c:817:37:expected restricted ovs_be16 [usertype] vlan_push_tpid ../lib/tc.c:817:37:got unsigned short ../lib/tc.c:1522:54: error: incorrect type in argum