net: hns3: fix spelling mistake "failded" -> "failed"

Trivial fix, the spelling of "failded" is incorrect in dev_err and
dev_warn messages. Fix this.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Colin Ian King 2018-11-13 11:50:57 +00:00 committed by David S. Miller
parent 7f600f14df
commit 790cd1a8f0
1 changed files with 2 additions and 2 deletions

View File

@ -2462,7 +2462,7 @@ int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset)
ret = hclge_set_vf_rst(hdev, vport->vport_id, reset);
if (ret) {
dev_err(&hdev->pdev->dev,
"set vf(%d) rst failded %d!\n",
"set vf(%d) rst failed %d!\n",
vport->vport_id, ret);
return ret;
}
@ -2477,7 +2477,7 @@ int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset)
ret = hclge_inform_reset_assert_to_vf(vport);
if (ret)
dev_warn(&hdev->pdev->dev,
"inform reset to vf(%d) failded %d!\n",
"inform reset to vf(%d) failed %d!\n",
vport->vport_id, ret);
}