Skip to contentSkip to conversation

Fix some more typos in docs and comments

PATCH Applied Andrea Claudi 2 participants 4 messages Feb 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover Fix some more typos in docs and comments

Time for some start-of-the-year cleanup :)

Using codespell, fix most of the typos in iproute2 docs and comments, except for some false positives. I didn't bother to report a Fixes tag for all the typos, but I can do that if needed.

v1 --> v2:
- rebased and dropped some unnecessary changes.

Andrea Claudi (2):
treewide: fix typos in various comments
docs, man: fix some typos

 include/bpf_api.h       | 2 +-
 include/xt-internal.h   | 2 +-
 man/man8/devlink-rate.8 | 2 +-
 tc/q_netem.c            | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/2 treewide: fix typos in various comments

Fix various typos and spelling errors in some iproute2 comments.

---
 include/bpf_api.h     | 2 +-
 include/xt-internal.h | 2 +-
 tc/q_netem.c          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
include/bpf_api.h +1 -1
index 5887d3a8..287f96b6 100644
@@ -253,7 +253,7 @@ static int BPF_FUNC(skb_set_tunnel_opt, struct __sk_buff *skb,
 # define memmove(d, s, n)	__builtin_memmove((d), (s), (n))
 #endif
 
-/* FIXME: __builtin_memcmp() is not yet fully useable unless llvm bug
+/* FIXME: __builtin_memcmp() is not yet fully usable unless llvm bug
  * https://llvm.org/bugs/show_bug.cgi?id=26218 gets resolved. Also
  * this one would generate a reloc entry (non-map), otherwise.
  */
include/xt-internal.h +1 -1
index 89c73e4f..07216140 100644
@@ -6,7 +6,7 @@
 #	define XT_LIB_DIR "/lib/xtables"
 #endif
 
-/* protocol family dependent informations */
+/* protocol family dependent information */
 struct afinfo {
 	/* protocol family */
 	int family;
tc/q_netem.c +1 -1
index 5d5aad80..4ce9ab6e 100644
@@ -117,7 +117,7 @@ static void print_corr(bool present, __u32 value)
 }
 
 /*
- * Simplistic file parser for distrbution data.
+ * Simplistic file parser for distribution data.
  * Format is:
  *	# comment line(s)
  *	data0 data1 ...
Signature · 1 line
2.43.0
#2 lore raw

PATCH v2 2/2 docs, man: fix some typos

In reply to Andrea Claudi

Fix some typos and spelling errors in iproute2 documentation.

---
 man/man8/devlink-rate.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man8/devlink-rate.8 +1 -1
index bcec3c31..f09ac4ac 100644
@@ -149,7 +149,7 @@ These parameter accept integer meaning weight or priority of a node.
 - set rate object parent to existing node with name \fINODE_NAME\fR or unset
 parent. Rate limits of the parent node applied to all it's children. Actual
 behaviour is details of driver's implementation. Setting parent to empty ("")
-name due to the kernel logic threated as parent unset.
+name due to the kernel logic treated as parent unset.
 
 .SS devlink port function rate add - create node rate object with specified parameters.
 Creates rate object of type node and sets parameters. Parameters same as for the
Signature · 1 line
2.43.0
#3 lore raw
In reply to Andrea Claudi
This series was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This series was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 10 lines · On Fri, 9 Feb 2024 16:25:44 +0100 you wrote:

Time for some start-of-the-year cleanup :)

Using codespell, fix most of the typos in iproute2 docs and comments, except for some false positives. I didn't bother to report a Fixes tag for all the typos, but I can do that if needed.

v1 --> v2:
- rebased and dropped some unnecessary changes.

[...]

Here is the summary with links:
- [iproute2,v2,1/2] treewide: fix typos in various comments

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=9cf6493cab29
  - [iproute2,v2,2/2] docs, man: fix some typos
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=3c4712b95d0c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html