summaryrefslogtreecommitdiffstats
path: root/net/ethtool
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-03-13 11:25:34 +0000
committerDavid S. Miller <davem@davemloft.net>2020-03-13 11:23:33 -0700
commit5ec82c49a21a3e50b0011d8c85c119e16c6413a0 (patch)
tree613bcf8c7f87c01c5e2bc9d7af7d9374bca43036 /net/ethtool
parent1d343579312311aa9875b34d5a921f5e2ec69f0a (diff)
downloadlinux-5ec82c49a21a3e50b0011d8c85c119e16c6413a0.tar.bz2
ethtool: fix spelling mistake "exceeeds" -> "exceeds"
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>
Diffstat (limited to 'net/ethtool')
-rw-r--r--net/ethtool/channels.c2
-rw-r--r--net/ethtool/rings.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ethtool/channels.c b/net/ethtool/channels.c
index 8dc5485333a4..389924b65d05 100644
--- a/net/ethtool/channels.c
+++ b/net/ethtool/channels.c
@@ -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;
}
diff --git a/net/ethtool/rings.c b/net/ethtool/rings.c
index c2ebf72be217..5422526f4eef 100644
--- a/net/ethtool/rings.c
+++ b/net/ethtool/rings.c
@@ -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;
}