riscv, bpf: Fix typo in comment
Subsystems (4)
PATCH 1/1 riscv, bpf: Fix typo in comment
We can use either "instruction" or "insn" in the comment.
Signed-off-by Xiao Wang <[email protected]>
--- arch/riscv/net/bpf_jit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/net/bpf_jit.h +2 -2
@@ -611,7 +611,7 @@ static inline u32 rv_nop(void)return rv_i_insn (0 ,0 ,0 ,0 ,0x13 ); } -/* RVC instrutions. */ +/* RVC instructions. */ static inline u16 rvc_addi4spn (u8 rd,u32 imm10) {
@@ -740,7 +740,7 @@ static inline u16 rvc_swsp(u32 imm8, u8 rs2)return rv_css_insn (0x6 , imm, rs2,0x2 ); } -/* RVZBB instrutions. */ +/* RVZBB instructions. */ static inline u32 rvzbb_sextb (u8 rd,u8 rs1) {return rv_i_insn (0x604 , rs1,1 , rd,0x13 );
Signature · 1 line
2.25.1
Quoted 21 lines · Xiao Wang
We can use either "instruction" or "insn" in the comment.
Signed-off-by Xiao Wang <[email protected]>--- arch/riscv/net/bpf_jit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/riscv/net/bpf_jit.h +1
-1@@ -611,7 +611,7 @@ static inline u32 rv_nop(void)return rv_i_insn (0 ,0 ,0 ,0 ,0x13 ); } -/* RVC instrutions. */ +/* RVC instructions. */ static inline u16 rvc_addi4spn (u8 rd,u32 imm10) {
arch/riscv/net/bpf_jit.h static inline u16 rvc_swsp(u32 imm8, u8 rs2) · line 746
Quoted 8 lines
arch/riscv/net/bpf_jit.h +1
-1@@ -740,7 +740,7 @@ static inline u16 rvc_swsp(u32 imm8, u8 rs2)return rv_css_insn (0x6 , imm, rs2,0x2 ); } -/* RVZBB instrutions. */ +/* RVZBB instructions. */ static inline u32 rvzbb_sextb (u8 rd,u8 rs1) {return rv_i_insn (0x604 , rs1,1 , rd,0x13 );
Reviewed-by Pu Lehui <[email protected]>
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Quoted 6 lines · On Tue, 7 May 2024 19:16:18 +0800 you wrote:
We can use either "instruction" or "insn" in the comment.
Signed-off-by Xiao Wang <[email protected]>--- arch/riscv/net/bpf_jit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- riscv, bpf: Fix typo in comment
https://git.kernel.org/bpf/bpf-next/c/80c5a07ae673
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html