OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e8052
)
bpf: Fix a spelling typo in bpf_atomic_alu_string disasm
author
Xu Kuohai
<xukuohai@huawei.com>
Thu, 25 Mar 2021 13:41:41 +0000
(13:41 +0000)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Fri, 26 Mar 2021 16:56:48 +0000
(17:56 +0100)
The name string for BPF_XOR is "xor", not "or". Fix it.
Fixes:
981f94c3e921
("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
kernel/bpf/disasm.c
patch
|
blob
|
history
diff --git
a/kernel/bpf/disasm.c
b/kernel/bpf/disasm.c
index
3acc7e0
..
faa54d5
100644
(file)
--- 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] = "
x
or",
};
static const char *const bpf_ldst_string[] = {