Skip to content

Commit d6fe1cf

Browse files
Xu Kuohaiborkmann
authored andcommitted
bpf: Fix a spelling typo in bpf_atomic_alu_string disasm
The name string for BPF_XOR is "xor", not "or". Fix it. Fixes: 981f94c ("bpf: Add bitwise atomic instructions") Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Brendan Jackman <jackmanb@google.com> Link: https://lore.kernel.org/bpf/20210325134141.8533-1-xukuohai@huawei.com
1 parent d8e8052 commit d6fe1cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/bpf/disasm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static const char *const bpf_atomic_alu_string[16] = {
8484
[BPF_ADD >> 4] = "add",
8585
[BPF_AND >> 4] = "and",
8686
[BPF_OR >> 4] = "or",
87-
[BPF_XOR >> 4] = "or",
87+
[BPF_XOR >> 4] = "xor",
8888
};
8989

9090
static const char *const bpf_ldst_string[] = {

0 commit comments

Comments
 (0)