Fix some more typos in docs and comments
Subsystems (2)
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
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
@@ -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
@@ -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
@@ -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
PATCH v2 2/2 docs, man: fix some typos
In reply to Andrea ClaudiFix 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
@@ -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
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