[PATCH bpf-next] bpf: fix typo in scalar{,32}_min_max_rsh comments

Subsystems: bpf [core], bpf [general] (safe dynamic programs and tools), the rest

STALE2026d LANDED

Landed in mainline as 18b24d78d537 on 2021-01-22.

2 messages, 2 authors, 2021-01-22 · open the first message on its own page

[PATCH bpf-next] bpf: fix typo in scalar{,32}_min_max_rsh comments

From: Tobias Klauser <tklauser@distanz.ch>
Date: 2021-01-21 17:53:32

s/bounts/bounds/

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 kernel/bpf/verifier.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 785d25392ead..d0eae51b31e4 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -6266,7 +6266,7 @@ static void scalar32_min_max_rsh(struct bpf_reg_state *dst_reg,
 	 * 3) the signed bounds cross zero, so they tell us nothing
 	 *    about the result
 	 * If the value in dst_reg is known nonnegative, then again the
-	 * unsigned bounts capture the signed bounds.
+	 * unsigned bounds capture the signed bounds.
 	 * Thus, in all cases it suffices to blow away our signed bounds
 	 * and rely on inferring new ones from the unsigned bounds and
 	 * var_off of the result.
@@ -6297,7 +6297,7 @@ static void scalar_min_max_rsh(struct bpf_reg_state *dst_reg,
 	 * 3) the signed bounds cross zero, so they tell us nothing
 	 *    about the result
 	 * If the value in dst_reg is known nonnegative, then again the
-	 * unsigned bounts capture the signed bounds.
+	 * unsigned bounds capture the signed bounds.
 	 * Thus, in all cases it suffices to blow away our signed bounds
 	 * and rely on inferring new ones from the unsigned bounds and
 	 * var_off of the result.
-- 
2.30.0

Re: [PATCH bpf-next] bpf: fix typo in scalar{,32}_min_max_rsh comments

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-01-22 23:31:13

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Thu, 21 Jan 2021 18:43:24 +0100 you wrote:
s/bounts/bounds/

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 kernel/bpf/verifier.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
  - [bpf-next] bpf: fix typo in scalar{,32}_min_max_rsh comments
    https://git.kernel.org/bpf/bpf-next/c/18b24d78d537

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help