net: hns3: fix spelling mistake: "capabilty" -> "capability"
Trivial fix to spelling mistake in dev_err error message and also split overly long line to avoid a checkpatch warning. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2f23678c28
commit
e00e21979d
|
@ -4089,7 +4089,8 @@ static int hclge_init_ae_dev(struct hnae3_ae_dev *ae_dev)
|
|||
|
||||
ret = hclge_get_cap(hdev);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "get hw capabilty error, ret = %d.\n", ret);
|
||||
dev_err(&pdev->dev, "get hw capability error, ret = %d.\n",
|
||||
ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue