lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b83c2369-eb9a-435c-8530-52a26dc39c09@huawei.com>
Date: Tue, 7 May 2024 20:29:36 +0800
From: Pu Lehui <pulehui@...wei.com>
To: Xiao Wang <xiao.w.wang@...el.com>, <paul.walmsley@...ive.com>,
	<palmer@...belt.com>, <aou@...s.berkeley.edu>, <luke.r.nels@...il.com>,
	<xi.wang@...il.com>, <bjorn@...nel.org>
CC: <ast@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
	<martin.lau@...ux.dev>, <eddyz87@...il.com>, <song@...nel.org>,
	<yonghong.song@...ux.dev>, <john.fastabend@...il.com>, <kpsingh@...nel.org>,
	<sdf@...gle.com>, <haoluo@...gle.com>, <jolsa@...nel.org>,
	<linux-riscv@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
	<bpf@...r.kernel.org>, <haicheng.li@...el.com>
Subject: Re: [PATCH] riscv, bpf: Fix typo in comment


On 2024/5/7 19:16, Xiao Wang wrote:
> We can use either "instruction" or "insn" in the comment.
> 
> Signed-off-by: Xiao Wang <xiao.w.wang@...el.com>
> ---
>   arch/riscv/net/bpf_jit.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/riscv/net/bpf_jit.h b/arch/riscv/net/bpf_jit.h
> index 18a7885ba95e..c1b6b44a2f49 100644
> --- a/arch/riscv/net/bpf_jit.h
> +++ b/arch/riscv/net/bpf_jit.h
> @@ -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);

Reviewed-by: Pu Lehui <pulehui@...wei.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ