Commit d6fe1cf8 authored by Xu Kuohai's avatar Xu Kuohai Committed by Daniel Borkmann

bpf: Fix a spelling typo in bpf_atomic_alu_string disasm

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

Fixes: 981f94c3 ("bpf: Add bitwise atomic instructions")
Signed-off-by: default avatarXu Kuohai <xukuohai@huawei.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarBrendan Jackman <jackmanb@google.com>
Link: https://lore.kernel.org/bpf/20210325134141.8533-1-xukuohai@huawei.com
parent d8e8052e
...@@ -84,7 +84,7 @@ static const char *const bpf_atomic_alu_string[16] = { ...@@ -84,7 +84,7 @@ static const char *const bpf_atomic_alu_string[16] = {
[BPF_ADD >> 4] = "add", [BPF_ADD >> 4] = "add",
[BPF_AND >> 4] = "and", [BPF_AND >> 4] = "and",
[BPF_OR >> 4] = "or", [BPF_OR >> 4] = "or",
[BPF_XOR >> 4] = "or", [BPF_XOR >> 4] = "xor",
}; };
static const char *const bpf_ldst_string[] = { static const char *const bpf_ldst_string[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment