[dpdk-dev] [PATCH 1/2] eal: fix use of RTE_PTR_ALIGN_CEIL macro on 32bits system

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 20 15:40:02 CET 2014


28/02/2014 09:21, David Marchand :
> RTE_PTR_ALIGN_CEIL return type is the same as what we give it as input.
> So instead of casting the returned value, cast 'addr' which should be the
> same as base_virtaddr.
> 
> Reported-by: Mats Liljegren <mats.liljegren at enea.com>
> Signed-off-by: David Marchand <david.marchand at 6wind.com>

Acked and applied with title
"mem: fix build of virtual address hinting for 32-bit"

Thank you
-- 
Thomas


More information about the dev mailing list