[dpdk-dev] [PATCH] eal: add const in prefetch functions

2015-07-08 Thread Thomas Monjalon
2015-07-08 10:59, Bruce Richardson: > On Wed, Jul 08, 2015 at 10:51:33AM +0100, Pablo de Lara wrote: > > rte_prefetchX functions included volatile void *p as parameter, > > but the function does not modify it, > > so it should include the const keyword. > > > > Signed-off-by: Pablo de Lara > > A

[dpdk-dev] [PATCH] eal: add const in prefetch functions

2015-07-08 Thread Bruce Richardson
On Wed, Jul 08, 2015 at 10:51:33AM +0100, Pablo de Lara wrote: > rte_prefetchX functions included volatile void *p as parameter, > but the function does not modify it, > so it should include the const keyword. > > Signed-off-by: Pablo de Lara Acked-by: Bruce Richardson

[dpdk-dev] [PATCH] eal: add const in prefetch functions

2015-07-08 Thread Pablo de Lara
rte_prefetchX functions included volatile void *p as parameter, but the function does not modify it, so it should include the const keyword. Signed-off-by: Pablo de Lara --- lib/librte_eal/common/include/arch/ppc_64/rte_prefetch.h | 6 +++--- lib/librte_eal/common/include/arch/x86/rte_prefetch.