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

There are spelling mistakes in two dev_err messages. Fix them.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20201123103452.197708-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Colin Ian King 2020-11-23 10:34:52 +00:00 committed by Jakub Kicinski
parent 6c446b6392
commit be419fcacf
2 changed files with 2 additions and 2 deletions

View file

@ -9924,7 +9924,7 @@ static int hclge_dev_mem_map(struct hclge_dev *hdev)
pci_resource_start(pdev, HCLGE_MEM_BAR),
pci_resource_len(pdev, HCLGE_MEM_BAR));
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;
}

View file

@ -2904,7 +2904,7 @@ static int hclgevf_dev_mem_map(struct hclgevf_dev *hdev)
HCLGEVF_MEM_BAR),
pci_resource_len(pdev, HCLGEVF_MEM_BAR));
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;
}