From 9cf6493cab29533998fca32dc3d5e71838ae279f Mon Sep 17 00:00:00 2001 From: Andrea Claudi Date: Fri, 9 Feb 2024 16:25:45 +0100 Subject: [PATCH] treewide: fix typos in various comments Fix various typos and spelling errors in some iproute2 comments. Reviewed-by: Petr Machata Signed-off-by: Andrea Claudi Signed-off-by: Stephen Hemminger --- 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 5887d3a85..287f96b62 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 89c73e4fe..072161409 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 5d5aad808..4ce9ab6e5 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.47.2