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:
Colin Ian King 2017-08-05 14:46:35 +01:00 committed by David S. Miller
parent 2f23678c28
commit e00e21979d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}