From patchwork Thu Oct 30 03:40:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Hall X-Patchwork-Id: 1031 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 0866F683B; Thu, 30 Oct 2014 04:31:32 +0100 (CET) Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 1B4676835 for ; Thu, 30 Oct 2014 04:31:30 +0100 (CET) Received: from localhost.localdomain (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id EC4FC80C507; Wed, 29 Oct 2014 20:39:18 -0700 (PDT) From: Matthew Hall To: dev@dpdk.org Date: Thu, 30 Oct 2014 03:40:08 +0000 Message-Id: <1414640408-10118-1-git-send-email-mhall@mhcomputing.net> X-Mailer: git-send-email 1.9.1 Subject: [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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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) {