From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F30B26CC2 for ; Thu, 26 Apr 2018 10:10:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2018 01:10:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,330,1520924400"; d="scan'208";a="50951479" Received: from apharney-mobl1.ger.corp.intel.com (HELO [10.252.26.14]) ([10.252.26.14]) by orsmga001.jf.intel.com with ESMTP; 26 Apr 2018 01:10:52 -0700 To: Jianfeng Tan , dev@dpdk.org References: <1524730013-61990-1-git-send-email-jianfeng.tan@intel.com> From: "Burakov, Anatoly" Message-ID: <05d4ca37-6464-dd2b-de53-27c767ccbc27@intel.com> Date: Thu, 26 Apr 2018 09:10:51 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1524730013-61990-1-git-send-email-jianfeng.tan@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Thu, 26 Apr 2018 08:10:55 -0000 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 -- Thanks, Anatoly