net: hns3: fix spelling mistake: "capabilty" -> "capability"
authorColin Ian King <colin.king@canonical.com>
Sat, 5 Aug 2017 13:46:35 +0000 (14:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:20:52 +0000 (14:20 -0700)
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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

index 7440e85..6fb7648 100644 (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;
        }