summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-18 16:30:00 +0100
committerDavid S. Miller <davem@davemloft.net>2017-08-19 21:30:55 -0700
commitd7629e748ee4332af91c1c2e2b4d7a92e7d5cde4 (patch)
treef15e39da514dcfcc55854300317cc62ab549e1f0 /drivers/net/ethernet/hisilicon
parent91558e76c8f1dd94d3c602373f02353c2c680298 (diff)
downloadlinux-d7629e748ee4332af91c1c2e2b4d7a92e7d5cde4.tar.bz2
net: hns3: fix a handful of spelling mistakes
Trival fix to spelling mistakes: firware -> firmware invald -> invalid mutilcast -> multicast Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c2
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
index bc869842728f..8b511e6e0ce9 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
@@ -334,7 +334,7 @@ int hclge_cmd_init(struct hclge_dev *hdev)
}
hdev->fw_version = version;
- dev_info(&hdev->pdev->dev, "The firware version is %08x\n", version);
+ dev_info(&hdev->pdev->dev, "The firmware version is %08x\n", version);
return 0;
err_csq:
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
index 6fb7648bb2f2..bb45365fb817 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
@@ -1952,7 +1952,7 @@ int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex)
HCLGE_CFG_SPEED_S, 5);
break;
default:
- dev_err(&hdev->pdev->dev, "invald speed (%d)\n", speed);
+ dev_err(&hdev->pdev->dev, "invalid speed (%d)\n", speed);
return -EINVAL;
}
@@ -3476,7 +3476,7 @@ int hclge_rm_mc_addr_common(struct hclge_vport *vport,
} else {
/* This mac addr do not exist, can't delete it */
dev_err(&hdev->pdev->dev,
- "Rm mutilcast mac addr failed, ret = %d.\n",
+ "Rm multicast mac addr failed, ret = %d.\n",
status);
return -EIO;
}