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 D80BB2A9 for ; Thu, 30 Oct 2014 10:48:54 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 30 Oct 2014 02:57:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,284,1413270000"; d="scan'208";a="613990115" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.88]) by fmsmga001.fm.intel.com with SMTP; 30 Oct 2014 02:57:35 -0700 Received: by (sSMTP sendmail emulation); Thu, 30 Oct 2014 09:57:35 +0100 Date: Thu, 30 Oct 2014 09:57:34 +0000 From: Bruce Richardson To: Matthew Hall Message-ID: <20141030095734.GB4460@bricha3-MOBL3> References: <1414640408-10118-1-git-send-email-mhall@mhcomputing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1414640408-10118-1-git-send-email-mhall@mhcomputing.net> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal_pci.c: pci_scan_one: fix inaccurate NUMA node error comment 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, 30 Oct 2014 09:48:55 -0000 On Thu, Oct 30, 2014 at 03:40:08AM +0000, Matthew Hall wrote: > Signed-off-by: Matthew Hall Acked-by: Bruce Richardson > --- > lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal_pci.c > index 5fe3961..ddb0535 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_pci.c > +++ b/lib/librte_eal/linuxapp/eal/eal_pci.c > @@ -266,7 +266,7 @@ pci_scan_one(const char *dirname, uint16_t domain, uint8_t bus, > snprintf(filename, sizeof(filename), "%s/numa_node", > dirname); > if (access(filename, R_OK) != 0) { > - /* if no NUMA support just set node to 0 */ > + /* if no NUMA support just set node to -1 */ > dev->numa_node = -1; > } else { > if (eal_parse_sysfs_value(filename, &tmp) < 0) { > -- > 1.9.1 >