OSDN Git Service

bpf: Delete repeated words in comments
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 7 Aug 2020 03:31:41 +0000 (20:31 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 7 Aug 2020 16:57:24 +0000 (18:57 +0200)
Drop repeated words in kernel/bpf/: {has, the}

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200807033141.10437-1-rdunlap@infradead.org
kernel/bpf/core.c
kernel/bpf/verifier.c

index bde9334..ed0b357 100644 (file)
@@ -1966,7 +1966,7 @@ void bpf_prog_array_delete_safe(struct bpf_prog_array *array,
  * @index: the index of the program to replace
  *
  * Skips over dummy programs, by not counting them, when calculating
- * the the position of the program to replace.
+ * the position of the program to replace.
  *
  * Return:
  * * 0         - Success
index b6ccfce..ef938f1 100644 (file)
@@ -8294,7 +8294,7 @@ static bool stacksafe(struct bpf_func_state *old,
                if (old->stack[spi].slot_type[i % BPF_REG_SIZE] !=
                    cur->stack[spi].slot_type[i % BPF_REG_SIZE])
                        /* Ex: old explored (safe) state has STACK_SPILL in
-                        * this stack slot, but current has has STACK_MISC ->
+                        * this stack slot, but current has STACK_MISC ->
                         * this verifier states are not equivalent,
                         * return false to continue verification of this path
                         */