From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: , X-List-Received-Date: Thu, 30 Oct 2014 03:31:30 -0000 Signed-off-by: Matthew Hall --- 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