summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-05 14:46:35 +0100
committerDavid S. Miller <davem@davemloft.net>2017-08-07 14:20:52 -0700
commite00e21979dc8a821840f23a8f1d62bd823755192 (patch)
treeee9ae04aab5f1fa8813693c5d96bfc2117bd1796 /drivers
parent2f23678c28c24cc692e2c8dc3ee9aeb3640d18b3 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c3
1 files changed, 2 insertions, 1 deletions
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;
}