Commit be419fca authored by Colin Ian King's avatar Colin Ian King Committed by Jakub Kicinski

net: hns3: fix spelling mistake "memroy" -> "memory"

There are spelling mistakes in two dev_err messages. Fix them.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20201123103452.197708-1-colin.king@canonical.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6c446b63
...@@ -9924,7 +9924,7 @@ static int hclge_dev_mem_map(struct hclge_dev *hdev) ...@@ -9924,7 +9924,7 @@ static int hclge_dev_mem_map(struct hclge_dev *hdev)
pci_resource_start(pdev, HCLGE_MEM_BAR), pci_resource_start(pdev, HCLGE_MEM_BAR),
pci_resource_len(pdev, HCLGE_MEM_BAR)); pci_resource_len(pdev, HCLGE_MEM_BAR));
if (!hw->mem_base) { if (!hw->mem_base) {
dev_err(&pdev->dev, "failed to map device memroy\n"); dev_err(&pdev->dev, "failed to map device memory\n");
return -EFAULT; return -EFAULT;
} }
......
...@@ -2904,7 +2904,7 @@ static int hclgevf_dev_mem_map(struct hclgevf_dev *hdev) ...@@ -2904,7 +2904,7 @@ static int hclgevf_dev_mem_map(struct hclgevf_dev *hdev)
HCLGEVF_MEM_BAR), HCLGEVF_MEM_BAR),
pci_resource_len(pdev, HCLGEVF_MEM_BAR)); pci_resource_len(pdev, HCLGEVF_MEM_BAR));
if (!hw->mem_base) { if (!hw->mem_base) {
dev_err(&pdev->dev, "failed to map device memroy\n"); dev_err(&pdev->dev, "failed to map device memory\n");
return -EFAULT; return -EFAULT;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment