From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A38C120DDC; Mon, 9 Oct 2017 17:18:11 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 09 Oct 2017 17:18:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/NTVxp83KUhO+yg x1CISViCGyzaZ3KovoSHDR3dRpsE=; b=Kg5nscoiqRGnvVXWQv/mM519P2o3RwJ w96KXbbnHToYzOtgCYvkoNQ3txjhFIHP/E4SYAkfAXpTPBwV6tVjRqB7qNLJDEwS Hw5krMhU/zbOiBtDsJBuiqbyTqaPuYbOaTg8Zzvw1/5xR+pELfwgzh0ZAxnIKdPy Q8gLM87nA3oY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=/NTVxp83KUhO+ygx1CISViCGyzaZ3KovoSHDR3dRpsE=; b=pQAGds/w ldzTY0aQ2m0t881Y03gL3REZ0bbEaS8R0dRRIZd1DBzLn1cqic/4JFzb0FfYeUtv RRk9kIMRs6g+EzDbdCKM5fqydlR0zkg0fBjusITHgb7W/Te0BUWO2veT808xOXNX YJTXxLd7Aob5FDrUsHm3otdEJBYUZUiJZa4vgx+AIWWvKK6p2N6B4z165CbN17iT XvXjVqbwhuh91zN/JyBjXp/2hTcdtBp4l6D4ERmLspKiD+QOvIe3Clt6gXeeGpHs 9oGlLNgv7XKqDOoF0Efv7s2ze5TB1PL6YwGLXIPd+xadw6XtYWi5HoNPew1MFyGQ 1gRrP6/KENMo/A== X-ME-Sender: X-Sasl-enc: 99nNAzhzmddZy2Ltwq5KbehBBqHdeI1vzDaFp+yUe66S 1507583891 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 581E924372; Mon, 9 Oct 2017 17:18:11 -0400 (EDT) From: Thomas Monjalon To: Seth Howell Cc: dev@dpdk.org, Sergio Gonzalez Monroy Date: Mon, 09 Oct 2017 23:18:09 +0200 Message-ID: <28456719.0fEqSQPgIx@xps> In-Reply-To: <87709ac9-19a0-497b-f5c2-fbfcef1cc773@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] eal/linuxapp: check mmap return value MAP_FAILED X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 21:18:13 -0000 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