Skip to contentSkip to conversation

vmxnet3: fix spelling

PATCH Applied Stephen Hemminger 4 participants 4 messages Jun 10, 2015 – Jun 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmxnet3: fix spelling

From: Stephen Hemminger <[email protected]>

Fix spelling errors in strings and comments.

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/net/vmxnet3/vmxnet3_ethdev.c +5 -5
index 1685ce4..decd9cf 100644
@@ -194,7 +194,7 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev)
 	pci_dev = eth_dev->pci_dev;
 
 	/*
-	 * for secondary processes, we don't initialise any further as primary
+	 * for secondary processes, we don't initialize any further as primary
 	 * has already done this work.
 	 */
 	if (rte_eal_process_type() != RTE_PROC_PRIMARY)
@@ -213,21 +213,21 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev)
 
 	/* Check h/w version compatibility with driver. */
 	ver = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_VRRS);
-	PMD_INIT_LOG(DEBUG, "Harware version : %d", ver);
+	PMD_INIT_LOG(DEBUG, "Hardware version : %d", ver);
 	if (ver & 0x1)
 		VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_VRRS, 1);
 	else {
-		PMD_INIT_LOG(ERR, "Uncompatiable h/w version, should be 0x1");
+		PMD_INIT_LOG(ERR, "Incompatible h/w version, should be 0x1");
 		return -EIO;
 	}
 
 	/* Check UPT version compatibility with driver. */
 	ver = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_UVRS);
-	PMD_INIT_LOG(DEBUG, "UPT harware version : %d", ver);
+	PMD_INIT_LOG(DEBUG, "UPT hardware version : %d", ver);
 	if (ver & 0x1)
 		VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_UVRS, 1);
 	else {
-		PMD_INIT_LOG(ERR, "Incompatiable UPT version.");
+		PMD_INIT_LOG(ERR, "Incompatible UPT version.");
 		return -EIO;
 	}
 
Signature · 1 line
2.1.4
Acked-by on v1 1/1
#2 lore raw
In reply to Stephen Hemminger
Quoted 5 lines · Stephen Hemminger

From: Stephen Hemminger <[email protected]>

Fix spelling errors in strings and comments.

Quoted 47 lines

---
drivers/net/vmxnet3/vmxnet3_ethdev.c | 10 +++++-----

1 file changed, 5 insertions(+), 5 deletions(-)
drivers/net/vmxnet3/vmxnet3_ethdev.c +5 -5
index 1685ce4..decd9cf 100644
@@ -194,7 +194,7 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev)
 	pci_dev = eth_dev->pci_dev;
 
 	/*
-	 * for secondary processes, we don't initialise any further as primary
+	 * for secondary processes, we don't initialize any further as primary
 	 * has already done this work.
 	 */
 	if (rte_eal_process_type() != RTE_PROC_PRIMARY)
@@ -213,21 +213,21 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev)
 
 	/* Check h/w version compatibility with driver. */
 	ver = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_VRRS);
-	PMD_INIT_LOG(DEBUG, "Harware version : %d", ver);
+	PMD_INIT_LOG(DEBUG, "Hardware version : %d", ver);
 	if (ver & 0x1)
 		VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_VRRS, 1);
 	else {
-		PMD_INIT_LOG(ERR, "Uncompatiable h/w version, should be 0x1");
+		PMD_INIT_LOG(ERR, "Incompatible h/w version, should be 0x1");
 		return -EIO;
 	}
 
 	/* Check UPT version compatibility with driver. */
 	ver = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_UVRS);
-	PMD_INIT_LOG(DEBUG, "UPT harware version : %d", ver);
+	PMD_INIT_LOG(DEBUG, "UPT hardware version : %d", ver);
 	if (ver & 0x1)
 		VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_UVRS, 1);
 	else {
-		PMD_INIT_LOG(ERR, "Incompatiable UPT version.");
+		PMD_INIT_LOG(ERR, "Incompatible UPT version.");
 		return -EIO;
 	}
 
Signature · 1 line
2.1.4