[dpdk-dev] [PATCH] examples/load_balancer: fix build with gcc 5.1

2015-06-03 Thread Thomas Monjalon
2015-06-03 14:06, Bruce Richardson: > On Tue, Jun 02, 2015 at 04:38:48PM +0200, Thomas Monjalon wrote: > > GCC 5.1 detects more out-of-bounds accesses: > > error: array subscript is above array bounds [-Werror=array-bounds] > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Bruce Richardso

[dpdk-dev] [PATCH] examples/load_balancer: fix build with gcc 5.1

2015-06-03 Thread Bruce Richardson
On Tue, Jun 02, 2015 at 04:38:48PM +0200, Thomas Monjalon wrote: > GCC 5.1 detects more out-of-bounds accesses: > error: array subscript is above array bounds [-Werror=array-bounds] > > Signed-off-by: Thomas Monjalon > --- Acked-by: Bruce Richardson > examples/load_balancer/config.c |

[dpdk-dev] [PATCH] examples/load_balancer: fix build with gcc 5.1

2015-06-02 Thread Thomas Monjalon
GCC 5.1 detects more out-of-bounds accesses: error: array subscript is above array bounds [-Werror=array-bounds] Signed-off-by: Thomas Monjalon --- examples/load_balancer/config.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/examples/load_balancer