From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id D01654C6E for ; Thu, 20 Mar 2014 15:38:33 +0100 (CET) Received: by mail-wi0-f182.google.com with SMTP id d1so833334wiv.15 for ; Thu, 20 Mar 2014 07:40:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=4VueheHHYxVY9mhkNFmgktv7eDQbnejfLz6O1fRlUb0=; b=O110qSXEv7pCJINxIRjrVf2wCmafD6Vp6wkpsnSSTq0NnQSKN9UZA0o7oSHbL+yN0q JfTy2odaCiWrBsOXMi7w0fMb6VM1P0mKMGBkrYtpPyNCk6HBHT5+urTDt6mTZcaylFpb FyaE3+3HWKpcxM1TY78/+8ksxY+KALxuOJ5ONn78h/Uu/BNVDyq4v8z9ltW3EDcfdPZj VXABU2J4s3l9i+uLi2JHcLwFWjoblHqDv3ISg1WOJ4V8PiOz9bLfXwLlV0kcYzAU2x++ tW5pXA6Q8hcqJ7NKivMUcY5SZSdZ7NOMK3FL6lb0ijz1OyhNk1ArrJXPxMQ/V0IikoPe xabw== X-Gm-Message-State: ALoCoQk/o1kic44i19+Fuu25uQ8OK2ioN6Y3eYbKa+JgMpdDaevtRG+o8vFuEksCGVOZybWaj8lK X-Received: by 10.195.13.234 with SMTP id fb10mr8110701wjd.50.1395326405458; Thu, 20 Mar 2014 07:40:05 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id w10sm53512423wiy.9.2014.03.20.07.40.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Mar 2014 07:40:04 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Thu, 20 Mar 2014 15:40:02 +0100 Message-ID: <3865777.5pN4eNKWaY@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.6-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1393575696-25289-1-git-send-email-david.marchand@6wind.com> References: <1393575696-25289-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/2] eal: fix use of RTE_PTR_ALIGN_CEIL macro on 32bits system X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 14:38:34 -0000 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