* [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment
[not found] <20260904105114.29474-1-hemanth.selam@gmail.com>
@ 2026-09-04 10:51 ` Hemanth Selam
2026-09-04 22:01 ` Randy Dunlap
2026-09-04 10:51 ` [PATCH 2/4] arm64: fix typos in comments Hemanth Selam
` (2 subsequent siblings)
3 siblings, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:51 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland, Jonathan Corbet,
Shuah Khan, Randy Dunlap
Cc: linux-kernel, linux-arm-kernel, linux-doc
Correct "initalised" to "initialized", reported by scripts/checkpatch.pl
using the misspelling list in scripts/spelling.txt. Only touches comments,
no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
Documentation/arch/arm64/booting.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/arch/arm64/booting.rst b/Documentation/arch/arm64/booting.rst
index 13ef311dace8..0d5f8709a5f5 100644
--- a/Documentation/arch/arm64/booting.rst
+++ b/Documentation/arch/arm64/booting.rst
@@ -588,7 +588,7 @@ following manner:
- CPUs with a "spin-table" enable-method must have a 'cpu-release-addr'
property in their cpu node. This property identifies a
- naturally-aligned 64-bit zero-initalised memory location.
+ naturally-aligned 64-bit zero-initialized memory location.
These CPUs should spin outside of the kernel in a reserved area of
memory (communicated to the kernel by a /memreserve/ region in the
--
2.48.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/4] arm64: fix typos in comments
[not found] <20260904105114.29474-1-hemanth.selam@gmail.com>
2026-09-04 10:51 ` [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment Hemanth Selam
@ 2026-09-04 10:51 ` Hemanth Selam
2026-09-04 10:51 ` [PATCH 3/4] selftests: arm64: fix typo "hander" in comment Hemanth Selam
2026-09-04 10:51 ` [PATCH 4/4] arm64: include: fix repeated word 'to' " Hemanth Selam
3 siblings, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:51 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland; +Cc: linux-kernel, linux-arm-kernel
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
arch/arm64/include/asm/stage2_pgtable.h | 2 +-
arch/arm64/include/uapi/asm/ptrace.h | 4 ++--
arch/arm64/kernel/cpufeature.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/include/asm/stage2_pgtable.h b/arch/arm64/include/asm/stage2_pgtable.h
index 23d27623e478..cf57da90b5d1 100644
--- a/arch/arm64/include/asm/stage2_pgtable.h
+++ b/arch/arm64/include/asm/stage2_pgtable.h
@@ -17,7 +17,7 @@
*
* This implies, the total number of page table levels required for
* IPA_SHIFT at stage2 expected by the hardware can be calculated using
- * the same logic used for the (non-collapsable) stage1 page tables but for
+ * the same logic used for the (non-collapsible) stage1 page tables but for
* (IPA_SHIFT - 4).
*/
#define stage2_pgtable_levels(ipa) ARM64_HW_PGTABLE_LEVELS((ipa) - 4)
diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h
index 15649a253a57..0c8c6a126c3b 100644
--- a/arch/arm64/include/uapi/asm/ptrace.h
+++ b/arch/arm64/include/uapi/asm/ptrace.h
@@ -113,7 +113,7 @@ struct user_hwdebug_state {
struct user_sve_header {
__u32 size; /* total meaningful regset content in bytes */
- __u32 max_size; /* maxmium possible size for this thread */
+ __u32 max_size; /* maximum possible size for this thread */
__u16 vl; /* current vector length */
__u16 max_vl; /* maximum possible vector length */
__u16 flags;
@@ -272,7 +272,7 @@ struct user_pac_generic_keys {
struct user_za_header {
__u32 size; /* total meaningful regset content in bytes */
- __u32 max_size; /* maxmium possible size for this thread */
+ __u32 max_size; /* maximum possible size for this thread */
__u16 vl; /* current vector length */
__u16 max_vl; /* maximum possible vector length */
__u16 flags;
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 17b83a2518a8..fd52941b5f07 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -888,7 +888,7 @@ static int search_cmp_ftr_reg(const void *id, const void *regp)
* entry.
*
* returns - Upon success, matching ftr_reg entry for id.
- * - NULL on failure. It is upto the caller to decide
+ * - NULL on failure. It is up to the caller to decide
* the impact of a failure.
*/
static struct arm64_ftr_reg *get_arm64_ftr_reg_nowarn(u32 sys_id)
@@ -3682,7 +3682,7 @@ static void verify_local_cpu_caps(u16 scope_mask)
/*
* We have to issue cpu_enable() irrespective of
* whether the CPU has it or not, as it is enabeld
- * system wide. It is upto the call back to take
+ * system wide. It is up to the call back to take
* appropriate action on this CPU.
*/
if (caps->cpu_enable)
--
2.48.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/4] selftests: arm64: fix typo "hander" in comment
[not found] <20260904105114.29474-1-hemanth.selam@gmail.com>
2026-09-04 10:51 ` [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment Hemanth Selam
2026-09-04 10:51 ` [PATCH 2/4] arm64: fix typos in comments Hemanth Selam
@ 2026-09-04 10:51 ` Hemanth Selam
2026-09-04 10:51 ` [PATCH 4/4] arm64: include: fix repeated word 'to' " Hemanth Selam
3 siblings, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:51 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland, Shuah Khan
Cc: linux-kernel, linux-arm-kernel, linux-kselftest
Correct "hander" to "handler", reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
.../arm64/signal/testcases/fake_sigreturn_sve_change_vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/arm64/signal/testcases/fake_sigreturn_sve_change_vl.c b/tools/testing/selftests/arm64/signal/testcases/fake_sigreturn_sve_change_vl.c
index e1ccf8f85a70..bcef280582ed 100644
--- a/tools/testing/selftests/arm64/signal/testcases/fake_sigreturn_sve_change_vl.c
+++ b/tools/testing/selftests/arm64/signal/testcases/fake_sigreturn_sve_change_vl.c
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2021 ARM Limited
*
- * Attempt to change the SVE vector length in a signal hander, this is not
+ * Attempt to change the SVE vector length in a signal handler, this is not
* supported and is expected to segfault.
*/
--
2.48.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 4/4] arm64: include: fix repeated word 'to' in comment
[not found] <20260904105114.29474-1-hemanth.selam@gmail.com>
` (2 preceding siblings ...)
2026-09-04 10:51 ` [PATCH 3/4] selftests: arm64: fix typo "hander" in comment Hemanth Selam
@ 2026-09-04 10:51 ` Hemanth Selam
3 siblings, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:51 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland; +Cc: linux-kernel, linux-arm-kernel
Drop the second 'to', reported by checkpatch.pl as a possible repeated
word. Only touches a comment, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
arch/arm64/include/asm/pgtable-prot.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/include/asm/pgtable-prot.h b/arch/arm64/include/asm/pgtable-prot.h
index 09d7c00cf405..526ee54c0d33 100644
--- a/arch/arm64/include/asm/pgtable-prot.h
+++ b/arch/arm64/include/asm/pgtable-prot.h
@@ -139,7 +139,7 @@ static inline bool __pure lpa2_is_enabled(void)
/*
* Page types used via Permission Indirection Extension (PIE). PIE uses
- * the USER, DBM, PXN and UXN bits to to generate an index which is used
+ * the USER, DBM, PXN and UXN bits to generate an index which is used
* to look up the actual permission in PIR_ELx and PIRE0_EL1. We define
* combinations we use on non-PIE systems with the same encoding, for
* convenience these are listed here as comments as are the unallocated
--
2.48.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment
2026-09-04 10:51 ` [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment Hemanth Selam
@ 2026-09-04 22:01 ` Randy Dunlap
0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2026-09-04 22:01 UTC (permalink / raw)
To: Hemanth Selam, Catalin Marinas, Will Deacon, Mark Rutland,
Jonathan Corbet, Shuah Khan
Cc: linux-kernel, linux-arm-kernel, linux-doc
On 9/4/26 3:51 AM, Hemanth Selam wrote:
> Correct "initalised" to "initialized", reported by scripts/checkpatch.pl
> using the misspelling list in scripts/spelling.txt. Only touches comments,
> no code changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
Yes, it's misspelled here. But please be aware of this (from
Documentation/doc-guide/contributing.rst):
Please note that some things are *not* typos and should not be "fixed":
- Both American and British English spellings are allowed within the
kernel documentation. There is no need to fix one by replacing it with
the other.
- The question of whether a period should be followed by one or two spaces
is not to be debated in the context of kernel documentation. Other
areas of rational disagreement, such as the "Oxford comma", are also
off-topic here.
> ---
> Documentation/arch/arm64/booting.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/arch/arm64/booting.rst b/Documentation/arch/arm64/booting.rst
> index 13ef311dace8..0d5f8709a5f5 100644
> --- a/Documentation/arch/arm64/booting.rst
> +++ b/Documentation/arch/arm64/booting.rst
> @@ -588,7 +588,7 @@ following manner:
>
> - CPUs with a "spin-table" enable-method must have a 'cpu-release-addr'
> property in their cpu node. This property identifies a
> - naturally-aligned 64-bit zero-initalised memory location.
> + naturally-aligned 64-bit zero-initialized memory location.
>
> These CPUs should spin outside of the kernel in a reserved area of
> memory (communicated to the kernel by a /memreserve/ region in the
thanks.
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-09-04 22:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260904105114.29474-1-hemanth.selam@gmail.com>
2026-09-04 10:51 ` [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment Hemanth Selam
2026-09-04 22:01 ` Randy Dunlap
2026-09-04 10:51 ` [PATCH 2/4] arm64: fix typos in comments Hemanth Selam
2026-09-04 10:51 ` [PATCH 3/4] selftests: arm64: fix typo "hander" in comment Hemanth Selam
2026-09-04 10:51 ` [PATCH 4/4] arm64: include: fix repeated word 'to' " Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox