net: hns3: fix a handful of spelling mistakes
authorColin Ian King <colin.king@canonical.com>
Fri, 18 Aug 2017 15:30:00 +0000 (16:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Aug 2017 04:30:55 +0000 (21:30 -0700)
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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

index bc869842728f527ed80e30616fefa06fc446584a..8b511e6e0ce9d2dac76249b9178fc81365031a7e 100644 (file)
@@ -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:
index 6fb7648bb2f2b25db680f4b4e43b5f8421d82dcf..bb45365fb817eb648dcaa160e2173257e027ad2a 100644 (file)
@@ -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;
        }