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:
parent
6c446b6392
commit
be419fcacf
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue