[PATCH][net-next] net: hns3: fix spelling mistake: "capabilty" -> "capability"

From: Colin King
Date: Sat Aug 05 2017 - 09:46:55 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx>
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
index 3611991689bc..770c06d80438 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
@@ -4091,7 +4091,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;
}

--
2.11.0