[dpdk-dev] [PATCH] vmxnet3: fix spelling
Yong Wang
yongwang at vmware.com
Wed Jun 10 20:42:40 CEST 2015
On 6/10/15, 9:09 AM, "Stephen Hemminger" <stephen at networkplumber.org>
wrote:
>From: Stephen Hemminger <shemming at brocade.com>
>
>Fix spelling errors in strings and comments.
>
>Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Yong Wang <yongwang at vmware.com>
>---
> drivers/net/vmxnet3/vmxnet3_ethdev.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
>diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c
>b/drivers/net/vmxnet3/vmxnet3_ethdev.c
>index 1685ce4..decd9cf 100644
>--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
>+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
>@@ -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;
> }
>
>--
>2.1.4
>
More information about the dev
mailing list