ethtool: fix spelling mistake "exceeeds" -> "exceeds"
authorColin Ian King <colin.king@canonical.com>
Fri, 13 Mar 2020 11:25:34 +0000 (11:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2020 18:23:33 +0000 (11:23 -0700)
There are a couple of spelling mistakes in NL_SET_ERR_MSG_ATTR messages.
Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/channels.c
net/ethtool/rings.c

index 8dc5485..389924b 100644 (file)
@@ -189,7 +189,7 @@ int ethnl_set_channels(struct sk_buff *skb, struct genl_info *info)
        if (err_attr) {
                ret = -EINVAL;
                NL_SET_ERR_MSG_ATTR(info->extack, err_attr,
-                                   "requested channel count exceeeds maximum");
+                                   "requested channel count exceeds maximum");
                goto out_ops;
        }
 
index c2ebf72..5422526 100644 (file)
@@ -181,7 +181,7 @@ int ethnl_set_rings(struct sk_buff *skb, struct genl_info *info)
        if (err_attr) {
                ret = -EINVAL;
                NL_SET_ERR_MSG_ATTR(info->extack, err_attr,
-                                   "requested ring size exceeeds maximum");
+                                   "requested ring size exceeds maximum");
                goto out_ops;
        }