* [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments
@ 2024-02-09 15:25 Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 1/2] treewide: fix typos in various comments Andrea Claudi
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Andrea Claudi @ 2024-02-09 15:25 UTC (permalink / raw)
To: netdev; +Cc: Stephen Hemminger, David Ahern
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(-)
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH iproute2 v2 1/2] treewide: fix typos in various comments
2024-02-09 15:25 [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments Andrea Claudi
@ 2024-02-09 15:25 ` Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 2/2] docs, man: fix some typos Andrea Claudi
2024-02-09 16:50 ` [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Andrea Claudi @ 2024-02-09 15:25 UTC (permalink / raw)
To: netdev; +Cc: Stephen Hemminger, David Ahern
Fix various typos and spelling errors in some iproute2 comments.
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
---
include/bpf_api.h | 2 +-
include/xt-internal.h | 2 +-
tc/q_netem.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/bpf_api.h b/include/bpf_api.h
index 5887d3a8..287f96b6 100644
--- a/include/bpf_api.h
+++ b/include/bpf_api.h
@@ -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.
*/
diff --git a/include/xt-internal.h b/include/xt-internal.h
index 89c73e4f..07216140 100644
--- a/include/xt-internal.h
+++ b/include/xt-internal.h
@@ -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;
diff --git a/tc/q_netem.c b/tc/q_netem.c
index 5d5aad80..4ce9ab6e 100644
--- a/tc/q_netem.c
+++ b/tc/q_netem.c
@@ -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 ...
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH iproute2 v2 2/2] docs, man: fix some typos
2024-02-09 15:25 [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 1/2] treewide: fix typos in various comments Andrea Claudi
@ 2024-02-09 15:25 ` Andrea Claudi
2024-02-09 16:50 ` [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Andrea Claudi @ 2024-02-09 15:25 UTC (permalink / raw)
To: netdev; +Cc: Stephen Hemminger, David Ahern
Fix some typos and spelling errors in iproute2 documentation.
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
---
man/man8/devlink-rate.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man8/devlink-rate.8 b/man/man8/devlink-rate.8
index bcec3c31..f09ac4ac 100644
--- a/man/man8/devlink-rate.8
+++ b/man/man8/devlink-rate.8
@@ -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
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments
2024-02-09 15:25 [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 1/2] treewide: fix typos in various comments Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 2/2] docs, man: fix some typos Andrea Claudi
@ 2024-02-09 16:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-02-09 16:50 UTC (permalink / raw)
To: Andrea Claudi; +Cc: netdev, stephen, dsahern
Hello:
This series was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-02-09 16:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-09 15:25 [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 1/2] treewide: fix typos in various comments Andrea Claudi
2024-02-09 15:25 ` [PATCH iproute2 v2 2/2] docs, man: fix some typos Andrea Claudi
2024-02-09 16:50 ` [PATCH iproute2 v2 0/2] Fix some more typos in docs and comments patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).