[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210325134141.8533-1-xukuohai@huawei.com>
Date: Thu, 25 Mar 2021 13:41:41 +0000
From: Xu Kuohai <xukuohai@...wei.com>
To: <bpf@...r.kernel.org>
CC: <netdev@...r.kernel.org>, <ast@...nel.org>, <jackmanb@...gle.com>,
<kpsingh@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
<kafai@...com>, <john.fastabend@...il.com>, <songliubraving@...com>
Subject: [PATCH bpf-next v3] bpf: Fix a spelling typo in kernel/bpf/disasm.c
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@...wei.com>
Acked-by: Brendan Jackman <jackmanb@...gle.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
Powered by blists - more mailing lists