Skip to content

Commit

Permalink
net: hns3: fix a handful of spelling mistakes
Browse files Browse the repository at this point in the history
Trival fix to spelling mistakes:

firware -> firmware
invald -> invalid
mutilcast -> multicast

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Colin Ian King authored and davem330 committed Aug 20, 2017
1 parent 91558e7 commit d7629e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit d7629e7

Please sign in to comment.