[PATCH] riscv: fix various typos in comments and code
Conor Dooley
conor at kernel.org
Wed Feb 11 09:05:39 PST 2026
On Thu, Feb 12, 2026 at 12:58:27AM +0800, seanwascoding wrote:
> Signed-off-by: seanwascoding <seanwascoding at gmail.com>
You need to add a commit message body and use your full name
in the author field.
> ---
> arch/riscv/errata/thead/errata.c | 2 +-
> arch/riscv/include/asm/atomic.h | 4 ++--
> arch/riscv/include/asm/elf.h | 2 +-
> arch/riscv/include/asm/processor.h | 2 +-
> arch/riscv/include/asm/thread_info.h | 2 +-
> arch/riscv/kernel/acpi.c | 2 +-
> arch/riscv/kernel/ftrace.c | 2 +-
> arch/riscv/kernel/head.S | 2 +-
> arch/riscv/kernel/mcount-dyn.S | 2 +-
> arch/riscv/kernel/module-sections.c | 2 +-
> arch/riscv/kernel/probes/kprobes.c | 2 +-
> arch/riscv/kernel/probes/uprobes.c | 2 +-
> arch/riscv/kernel/soc.c | 2 +-
> arch/riscv/kernel/suspend.c | 2 +-
> arch/riscv/kvm/tlb.c | 2 +-
> arch/riscv/kvm/vcpu_pmu.c | 2 +-
> arch/riscv/lib/csum.c | 2 +-
> arch/riscv/lib/memmove.S | 4 ++--
> arch/riscv/mm/cacheflush.c | 2 +-
> arch/riscv/mm/physaddr.c | 4 ++--
> 20 files changed, 23 insertions(+), 23 deletions(-)
> diff --git a/arch/riscv/include/asm/elf.h b/arch/riscv/include/asm/elf.h
> index c7aea7886d22..04bc662cabbb 100644
> --- a/arch/riscv/include/asm/elf.h
> +++ b/arch/riscv/include/asm/elf.h
> @@ -59,7 +59,7 @@ extern bool compat_elf_check_arch(Elf32_Ehdr *hdr);
> #endif
>
> /*
> - * Provides information on the availiable set of ISA extensions to userspace,
> + * Provides information on the available set of ISA extensions to userspace,
> * via a bitmap that coorespends to each single-letter ISA extension. This is
You missed one in this line.
> * essentially defunct, but will remain for compatibility with userspace.
> */
> diff --git a/arch/riscv/include/asm/processor.h b/arch/riscv/include/asm/processor.h
> index da5426122d28..c571c276b2e9 100644
> --- a/arch/riscv/include/asm/processor.h
> +++ b/arch/riscv/include/asm/processor.h
> @@ -85,7 +85,7 @@ struct pt_regs;
> * preempt_v. All preempt_v context should be dropped in such case because
> * V-regs are caller-saved. Only sstatus.VS=ON is persisted across a
> * schedule() call.
> - * - bit 30: The in-kernel preempt_v context is saved, and requries to be
> + * - bit 30: The in-kernel preempt_v context is saved, and requires to be
"requires to be" should be "is required to be", no?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260211/7db60f8b/attachment.sig>
More information about the linux-riscv
mailing list