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

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 15 23:00:40 CEST 2016


2016-07-13 16:33, Adrien Mazarguil:
> From: Olga Shern <olgas at mellanox.com>
> 
> 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 Shern <olgas at mellanox.com>
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

Applied, thanks


More information about the dev mailing list