diff mbox series

[iproute2,v2,1/2] treewide: fix typos in various comments

Message ID 262252270eabfb4b3fb30266427e5d3a1b185992.1707492043.git.aclaudi@redhat.com (mailing list archive)
State Accepted
Commit 9cf6493cab29533998fca32dc3d5e71838ae279f
Delegated to: Stephen Hemminger
Headers show
Series Fix some more typos in docs and comments | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Andrea Claudi Feb. 9, 2024, 3:25 p.m. UTC
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 mbox series

Patch

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 ...