[dpdk-dev] [PATCH] net/mlx5: work around compilation issue

2016-07-15 Thread Thomas Monjalon
2016-07-13 16:33, Adrien Mazarguil: > From: Olga Shern > > RHEL 7.1's GCC for POWER8 reports the following error in one rte_memcpy() > macro call by mlx5: > > error: array subscript is above array bounds [-Werror=array-bounds] > > It appears to be a GCC bug which can be worked around by making

[dpdk-dev] [PATCH] net/mlx5: work around compilation issue

2016-07-13 Thread Adrien Mazarguil
From: Olga Shern RHEL 7.1's GCC for POWER8 reports the following error in one rte_memcpy() macro call by mlx5: error: array subscript is above array bounds [-Werror=array-bounds] It appears to be a GCC bug which can be worked around by making parentheses more explicit. Signed-off-by: Olga She