summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorXiao Wang <xiao.w.wang@intel.com>2024-05-07 14:16:18 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-05-13 02:56:43 +0300
commit80c5a07ae673a740ef7ef0fe1ab588075a25ce8d (patch)
tree3ee3909d6464aedf22dd0fa25d3407eec9ed0dfb /arch
parent68378982f0b21de02ac3c6a11e2420badefcb4bc (diff)
downloadlinux-80c5a07ae673a740ef7ef0fe1ab588075a25ce8d.tar.xz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/net/bpf_jit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/net/bpf_jit.h b/arch/riscv/net/bpf_jit.h
index 5fc374ed98ea..fdbf88ca8b70 100644
--- 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 instructions. */
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 instructions. */
static inline u32 rvzbb_sextb(u8 rd, u8 rs1)
{
return rv_i_insn(0x604, rs1, 1, rd, 0x13);