[dpdk-dev] [PATCH] ring: fix build with icc

Bruce Richardson bruce.richardson at intel.com
Wed Apr 5 18:13:54 CEST 2017


On Wed, Apr 05, 2017 at 04:03:12PM +0100, Ferruh Yigit wrote:
> build error:
> In file included from .../lib/librte_ring/rte_ring.c(90):
> .../lib/librte_ring/rte_ring.h(162):
> error #1366: a reduction in alignment without the "packed" attribute
> is ignored
>   } __rte_cache_aligned;
>       ^
> 
> Alignment attribute moved to first element of the struct
> 
> Fixes: a6619414e0a9 ("ring: make struct and macros type agnostic")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
Patch looks ok to me

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list