[dpdk-dev] [PATCH 1/4] eal: fix compile on Fedora 22 (GCC 5.1)

2015-05-29 Thread Bruce Richardson
On Fedora 22, with GCC 5.1, errors are reported due to array accesses being potentially out of bounds. This commit fixes this by adding in an extra bounds check to the loop counter. Signed-off-by: Bruce Richardson --- lib/librte_eal/linuxapp/eal/eal_memory.c | 3 ++- 1 file changed, 2

[dpdk-dev] [PATCH 1/4] eal: fix compile on Fedora 22 (GCC 5.1)

2015-05-29 Thread Neil Horman
On Fri, May 29, 2015 at 01:53:44PM +0100, Bruce Richardson wrote: > On Fedora 22, with GCC 5.1, errors are reported due to array accesses > being potentially out of bounds. This commit fixes this by adding in an > extra bounds check to the loop counter. > > Signed-off-by: Bruce Richardson > ---