[PATCH bpf-next v3] bpf: Fix a spelling typo in kernel/bpf/disasm.c

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

STALE1956d LANDED: 1 (1M)

1 review trailer; landed in mainline as d6fe1cf89026 on 2021-03-26.

2 messages, 2 authors, 2021-03-26 · open the first message on its own page

[PATCH bpf-next v3] bpf: Fix a spelling typo in kernel/bpf/disasm.c

From: Xu Kuohai <hidden>
Date: 2021-03-25 13:42:08

The name string for BPF_XOR is "xor", not "or", fix it.

Fixes: 981f94c3e92146705b ("bpf: Add bitwise atomic instructions")
Signed-off-by: Xu Kuohai <redacted>
Acked-by: Brendan Jackman <jackmanb@google.com>
---
 kernel/bpf/disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/bpf/disasm.c b/kernel/bpf/disasm.c
index 3acc7e0b6916..faa54d58972c 100644
--- a/kernel/bpf/disasm.c
+++ b/kernel/bpf/disasm.c
@@ -84,7 +84,7 @@ static const char *const bpf_atomic_alu_string[16] = {
 	[BPF_ADD >> 4]  = "add",
 	[BPF_AND >> 4]  = "and",
 	[BPF_OR >> 4]  = "or",
-	[BPF_XOR >> 4]  = "or",
+	[BPF_XOR >> 4]  = "xor",
 };
 
 static const char *const bpf_ldst_string[] = {
-- 
2.27.0

Re: [PATCH bpf-next v3] bpf: Fix a spelling typo in kernel/bpf/disasm.c

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-26 17:00:50

Hello:

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

On Thu, 25 Mar 2021 13:41:41 +0000 you wrote:
The name string for BPF_XOR is "xor", not "or", fix it.

Fixes: 981f94c3e92146705b ("bpf: Add bitwise atomic instructions")
Signed-off-by: Xu Kuohai <redacted>
Acked-by: Brendan Jackman <jackmanb@google.com>
---
 kernel/bpf/disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - [bpf-next,v3] bpf: Fix a spelling typo in kernel/bpf/disasm.c
    https://git.kernel.org/bpf/bpf/c/d6fe1cf89026

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