diff mbox series

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

Message ID 20210325134141.8533-1-xukuohai@huawei.com (mailing list archive)
State Accepted
Commit d6fe1cf89026d3111112ee29ef8d93cd7a8aaa24
Delegated to: BPF
Headers show
Series [bpf-next,v3] bpf: Fix a spelling typo in kernel/bpf/disasm.c | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for bpf-next
netdev/subject_prefix success Link
netdev/cc_maintainers fail 1 blamed authors not CCed: yhs@fb.com; 1 maintainers not CCed: yhs@fb.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 1 this patch: 1
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 1 this patch: 1
netdev/header_inline success Link

Commit Message

Xu Kuohai March 25, 2021, 1:41 p.m. UTC
The name string for BPF_XOR is "xor", not "or", fix it.

Fixes: 981f94c3e92146705b ("bpf: Add bitwise atomic instructions")
Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Acked-by: Brendan Jackman <jackmanb@google.com>
---
 kernel/bpf/disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 26, 2021, 5 p.m. UTC | #1
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 <xukuohai@huawei.com>
> 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
diff mbox series

Patch

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[] = {