From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3 3/4] eal: fix tail blank check in --lcores argument Date: Thu, 28 Jul 2016 16:18:35 +0100 Message-ID: <579A224B.5050400@intel.com> References: <1469526749-19698-1-git-send-email-wei.dai@intel.com> <1469618756-144196-1-git-send-email-wei.dai@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Wei Dai , dev@dpdk.org 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) In-Reply-To: <1469618756-144196-1-git-send-email-wei.dai@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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