From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/2] eal: fix use of RTE_PTR_ALIGN_CEIL macro on 32bits system Date: Thu, 20 Mar 2014 15:40:02 +0100 Message-ID: <3865777.5pN4eNKWaY@xps13> References: <1393575696-25289-1-git-send-email-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1393575696-25289-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 > Signed-off-by: David Marchand Acked and applied with title "mem: fix build of virtual address hinting for 32-bit" Thank you -- Thomas