projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6837898
)
riscv, bpf: Fix typo in comment
author
Xiao Wang
<xiao.w.wang@intel.com>
Tue, 7 May 2024 11:16:18 +0000
(19:16 +0800)
committer
Alexei Starovoitov
<ast@kernel.org>
Sun, 12 May 2024 23:56:43 +0000
(16:56 -0700)
We can use either "instruction" or "insn" in the comment.
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Pu Lehui <pulehui@huawei.com>
Link:
https://lore.kernel.org/r/20240507111618.437121-1-xiao.w.wang@intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/riscv/net/bpf_jit.h
patch
|
blob
|
history
diff --git
a/arch/riscv/net/bpf_jit.h
b/arch/riscv/net/bpf_jit.h
index 5fc374ed98ea8f5c50f29cb4d1de0703c0ff3eb7..fdbf88ca8b700d021b21df2985651bf58fec8574 100644
(file)
--- a/
arch/riscv/net/bpf_jit.h
+++ b/
arch/riscv/net/bpf_jit.h
@@
-608,7
+608,7
@@
static inline u32 rv_nop(void)
return rv_i_insn(0, 0, 0, 0, 0x13);
}
-/* RVC instrutions. */
+/* RVC instru
c
tions. */
static inline u16 rvc_addi4spn(u8 rd, u32 imm10)
{
@@
-737,7
+737,7
@@
static inline u16 rvc_swsp(u32 imm8, u8 rs2)
return rv_css_insn(0x6, imm, rs2, 0x2);
}
-/* RVZBB instrutions. */
+/* RVZBB instru
c
tions. */
static inline u32 rvzbb_sextb(u8 rd, u8 rs1)
{
return rv_i_insn(0x604, rs1, 1, rd, 0x13);