Skip to content

Commit 80c5a07

Browse files
XiaoWang1772Alexei Starovoitov
authored andcommitted
riscv, bpf: Fix typo in comment
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>
1 parent 6837898 commit 80c5a07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/riscv/net/bpf_jit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ static inline u32 rv_nop(void)
608608
return rv_i_insn(0, 0, 0, 0, 0x13);
609609
}
610610

611-
/* RVC instrutions. */
611+
/* RVC instructions. */
612612

613613
static inline u16 rvc_addi4spn(u8 rd, u32 imm10)
614614
{
@@ -737,7 +737,7 @@ static inline u16 rvc_swsp(u32 imm8, u8 rs2)
737737
return rv_css_insn(0x6, imm, rs2, 0x2);
738738
}
739739

740-
/* RVZBB instrutions. */
740+
/* RVZBB instructions. */
741741
static inline u32 rvzbb_sextb(u8 rd, u8 rs1)
742742
{
743743
return rv_i_insn(0x604, rs1, 1, rd, 0x13);

0 commit comments

Comments
 (0)