From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 69DE95680 for ; Thu, 28 Jul 2016 17:18:46 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 28 Jul 2016 08:18:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,434,1464678000"; d="scan'208";a="1030882645" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.150]) ([10.237.220.150]) by fmsmga002.fm.intel.com with ESMTP; 28 Jul 2016 08:18:36 -0700 To: Wei Dai , dev@dpdk.org References: <1469526749-19698-1-git-send-email-wei.dai@intel.com> <1469618756-144196-1-git-send-email-wei.dai@intel.com> From: Ferruh Yigit Message-ID: <579A224B.5050400@intel.com> Date: Thu, 28 Jul 2016 16:18:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1469618756-144196-1-git-send-email-wei.dai@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 3/4] eal: fix tail blank check in --lcores argument 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, 28 Jul 2016 15:18:46 -0000 On 7/27/2016 12:25 PM, Wei Dai wrote: > the tail blank after a group of lcore or cpu set > will make check of its end character fail. > for example: --lcores '(0-3)@(0-3) ,(4-5)@(4-5)', > the next character after cpu set (0-3) is not ',' > or '\0', which fail the check in eal_parse_lcores( ). > > Fixes: 53e54bf81700 ("eal: new option --lcores for cpu assignment") > > Signed-off-by: Wei Dai Acked-by: Ferruh Yigit