From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] eal/linuxapp: check mmap return value MAP_FAILED Date: Mon, 09 Oct 2017 23:18:09 +0200 Message-ID: <28456719.0fEqSQPgIx@xps> References: <20170815205336.9266-1-seth.howell@intel.com> <20170828214912.133503-1-seth.howell@intel.com> <87709ac9-19a0-497b-f5c2-fbfcef1cc773@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Sergio Gonzalez Monroy To: Seth Howell Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 496371B247 for ; Mon, 9 Oct 2017 23:18:12 +0200 (CEST) In-Reply-To: <87709ac9-19a0-497b-f5c2-fbfcef1cc773@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 29/08/2017 10:31, Sergio Gonzalez Monroy: > On 28/08/2017 22:49, Seth Howell wrote: > > If mmap fails, it will return the value MAP_FAILED. Checking for this > > return code allows us to properly identify mmap failures and report > > them as such to the calling function. > > > > Signed-off-by: Seth Howell > > Acked-by: Sergio Gonzalez Monroy Applied, thanks