All of lore.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: seanwascoding <seanwascoding@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>,
	Paul Walmsley <pjw@kernel.org>,
	linux-riscv@lists.infradead.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] riscv: fix various typos in comments and code
Date: Wed, 11 Feb 2026 17:05:39 +0000	[thread overview]
Message-ID: <20260211-trash-eldest-aebdecd512c4@spud> (raw)
In-Reply-To: <20260211165827.78574-1-seanwascoding@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2556 bytes --]

On Thu, Feb 12, 2026 at 12:58:27AM +0800, seanwascoding wrote:
> Signed-off-by: seanwascoding <seanwascoding@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?



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Conor Dooley <conor@kernel.org>
To: seanwascoding <seanwascoding@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>,
	Paul Walmsley <pjw@kernel.org>,
	linux-riscv@lists.infradead.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] riscv: fix various typos in comments and code
Date: Wed, 11 Feb 2026 17:05:39 +0000	[thread overview]
Message-ID: <20260211-trash-eldest-aebdecd512c4@spud> (raw)
In-Reply-To: <20260211165827.78574-1-seanwascoding@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2556 bytes --]

On Thu, Feb 12, 2026 at 12:58:27AM +0800, seanwascoding wrote:
> Signed-off-by: seanwascoding <seanwascoding@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?



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2026-02-11 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-11 16:58 [PATCH] riscv: fix various typos in comments and code seanwascoding
2026-02-11 16:58 ` seanwascoding
2026-02-11 17:05 ` Conor Dooley [this message]
2026-02-11 17:05   ` Conor Dooley
2026-02-12 14:47   ` [PATCH v2] riscv: fix typos in comments/code - CC Conor Sean Chang
2026-02-12 14:47     ` Sean Chang
2026-02-11 17:54 ` [PATCH v2] riscv: fix various typos in comments and code Sean Chang
2026-02-11 17:54   ` Sean Chang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260211-trash-eldest-aebdecd512c4@spud \
    --to=conor@kernel.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=seanwascoding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.