From 40a69e4640465ec8dcb754dd6866f1584b70f0c6 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Thu, 6 Aug 2020 20:31:41 -0700 Subject: [PATCH] UPSTREAM: bpf: Delete repeated words in comments Drop repeated words in kernel/bpf/: {has, the} Change-Id: Ia04b9a271445f9dbc320aa80fc377a5a7524b897 Signed-off-by: Randy Dunlap Signed-off-by: Daniel Borkmann Link: https://lore.kernel.org/bpf/20200807033141.10437-1-rdunlap@infradead.org --- kernel/bpf/core.c | 2 +- kernel/bpf/verifier.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 90965f59a781..31b19c4e5685 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -2024,7 +2024,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 diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index 87f5e8cf46ed..5bae77189177 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -8487,7 +8487,7 @@ static bool stacksafe(struct bpf_verifier_env *env, 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 */