Re: [ovs-dev] [PATCH 3/4] odp-util: Simplify parsing function for GCC.

2015-06-09 Thread Jarno Rajahalme
> On Jun 9, 2015, at 3:32 PM, Ben Pfaff wrote: > > On Tue, Jun 09, 2015 at 03:25:09PM -0700, Jarno Rajahalme wrote: >> GCC 4.7.2 -O3 flagged potential use before initialization for the 'id' >> and 'id_mask' being scanned in scan_vxlan_gbp(). For the 'id' this >> was a real possiblity, but for t

Re: [ovs-dev] [PATCH 3/4] odp-util: Simplify parsing function for GCC.

2015-06-09 Thread Ben Pfaff
On Tue, Jun 09, 2015 at 03:25:09PM -0700, Jarno Rajahalme wrote: > GCC 4.7.2 -O3 flagged potential use before initialization for the 'id' > and 'id_mask' being scanned in scan_vxlan_gbp(). For the 'id' this > was a real possiblity, but for the 'id_mask' it seems to be a false > positive in gcc ana

[ovs-dev] [PATCH 3/4] odp-util: Simplify parsing function for GCC.

2015-06-09 Thread Jarno Rajahalme
GCC 4.7.2 -O3 flagged potential use before initialization for the 'id' and 'id_mask' being scanned in scan_vxlan_gbp(). For the 'id' this was a real possiblity, but for the 'id_mask' it seems to be a false positive in gcc analysis. Simplify scan_vxlan_gbp() to fix this. Signed-off-by: Jarno Raja