From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 13FD45F16 for ; Fri, 27 Apr 2018 23:38:19 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AD93B20FF2; Fri, 27 Apr 2018 17:38:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 27 Apr 2018 17:38:18 -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; s=mesmtp; bh=275jeU4L+BbBFLDnK3xF2C1Vyd WrGCyWDfKUUeVlyn4=; b=BH9Zls0tAcnSoKjaWQSFgbSFjNPYuhJRwFzf92nCjX t5HDn8uV1OKR05Ix5isN/1TDOwYY9AGA7vzGpBK5mjrpan8L6UN4i2efPblhNzGc vMqC95PnT+0tLpmvSbc7sG35mbRzh5fIvcvdWZx8qaDZ5zzasKF51HHcKagQG1gm w= 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; s=fm2; bh=275jeU 4L+BbBFLDnK3xF2C1VydWrGCyWDfKUUeVlyn4=; b=XQBDwkSqHtoD0pGO53FTll 2Oo7ludvaiXSMHSXLJAYQ9dzq0XwhR4825zF7DLzgDUDmG2DKH44H+WbTRa3W9cw dwwwbZMf4WRoiP9BEhKinjNHgdTPoeFaHAJPQq6hxSQY1aiMoheLejAPdI4IGcqU FIlSrtx1/UR927GXTmrGFlu+md9yGbq6OD1T+5qQZ68FD+BJ3b5BOaCG+tegxMNd p9KONNJIrQpGNR2W+B7ETWmqZk5PxQgslL9HDJ0J8rc8VeZsotFFB3+eXqWmeh0o oW5e5FZO/Kuko6C84S6j95OZ4Xi/QJTBH63C7G3BZaKtbE2I6hIn/ixaut3nd/Vg == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1CE02E509B; Fri, 27 Apr 2018 17:38:18 -0400 (EDT) From: Thomas Monjalon To: Jianfeng Tan Cc: dev@dpdk.org, "Burakov, Anatoly" Date: Fri, 27 Apr 2018 23:38:17 +0200 Message-ID: <2147085.vTm8LvYrj5@xps> In-Reply-To: <05d4ca37-6464-dd2b-de53-27c767ccbc27@intel.com> References: <1524730013-61990-1-git-send-email-jianfeng.tan@intel.com> <05d4ca37-6464-dd2b-de53-27c767ccbc27@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mem: fix handling return value 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: Fri, 27 Apr 2018 21:38:19 -0000 26/04/2018 10:10, Burakov, Anatoly: > On 26-Apr-18 9:06 AM, Jianfeng Tan wrote: > > resize_hugefile() returns either 0 (which indicates success) or -1 > > (which indicates failure). We failed to check the success as we > > use --single-file-segments option. > > > > Fixes: 2a04139f66b4 ("eal: add single file segments option") > > > > Cc: Anatoly Burakov > > > > Signed-off-by: Jianfeng Tan > > Acked-by: Anatoly Burakov Applied, thanks