From: Colin Ian King Date: Sat, 5 Aug 2017 13:46:35 +0000 (+0100) Subject: net: hns3: fix spelling mistake: "capabilty" -> "capability" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e00e21979dc8a821840f23a8f1d62bd823755192;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index 7440e85b607c..6fb7648bb2f2 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c @@ -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; }