summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-05 15:46:35 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-07 23:20:52 +0200
commite00e21979dc8a821840f23a8f1d62bd823755192 (patch)
treeee9ae04aab5f1fa8813693c5d96bfc2117bd1796
parentMerge branch 'Refactor-lan9303_xxx_packet_processing' (diff)
downloadlinux-e00e21979dc8a821840f23a8f1d62bd823755192.tar.xz
linux-e00e21979dc8a821840f23a8f1d62bd823755192.zip
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>
-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;
}