[dpdk-dev] [PATCH 1/2 v2] examples/distributor: Fix compile issue

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Nov 27 21:49:25 CET 2015


> > examples/distributor/main.c(338): error #167:
> > argument of type "struct rte_mbuf *"
> > is incompatible with parameter of type "const char *"
> >   			_mm_prefetch(bufs[0], 0);
> > 
> > The first param pass to _mm_prefetch is wrong,
> > need convert "struct rte_mbuf *" to "void *".
> > 
> > Fixes: 07db4a975094 ("examples/distributor: new sample app")
> > 
> > Signed-off-by: Michael Qiu <michael.qiu at intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

As described by Pablo, it is seen with ICC 2015.

Series applied, thanks


More information about the dev mailing list