* [PATCH 0/2] ARM: fix typos in comments
@ 2026-09-04 12:23 Hemanth Selam
2026-09-04 12:23 ` [PATCH 1/2] ARM: mach-s3c: fix typo "capabilites" in comment Hemanth Selam
2026-09-04 12:23 ` [PATCH 2/2] i2c: busses: fix typo "retreive" " Hemanth Selam
0 siblings, 2 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:23 UTC (permalink / raw)
Cc: linux-kernel
This corrects 2 misspellings in comments. Each is a separate patch so
that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
ARM: mach-s3c: fix typo "capabilites" in comment
i2c: busses: fix typo "retreive" in comment
arch/arm/mach-s3c/gpio-cfg.h | 2 +-
drivers/i2c/busses/i2c-s3c2410.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: mach-s3c: fix typo "capabilites" in comment
2026-09-04 12:23 [PATCH 0/2] ARM: fix typos in comments Hemanth Selam
@ 2026-09-04 12:23 ` Hemanth Selam
2026-09-04 12:23 ` [PATCH 2/2] i2c: busses: fix typo "retreive" " Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:23 UTC (permalink / raw)
To: Krzysztof Kozlowski, Peter Griffin, Alim Akhtar, Russell King
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc
Correct "capabilites" to "capabilities", 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/arm/mach-s3c/gpio-cfg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-s3c/gpio-cfg.h b/arch/arm/mach-s3c/gpio-cfg.h
index 2dfb0561001e..778103412cd1 100644
--- a/arch/arm/mach-s3c/gpio-cfg.h
+++ b/arch/arm/mach-s3c/gpio-cfg.h
@@ -36,7 +36,7 @@ struct samsung_gpio_chip;
* @get_config: Read the current configuration for the GPIO
*
* Each chip can have more than one type of GPIO bank available and some
- * have different capabilites even when they have the same control register
+ * have different capabilities even when they have the same control register
* layouts. Provide an point to vector control routine and provide any
* per-bank configuration information that other systems such as the
* external interrupt code will need.
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] i2c: busses: fix typo "retreive" in comment
2026-09-04 12:23 [PATCH 0/2] ARM: fix typos in comments Hemanth Selam
2026-09-04 12:23 ` [PATCH 1/2] ARM: mach-s3c: fix typo "capabilites" in comment Hemanth Selam
@ 2026-09-04 12:23 ` Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:23 UTC (permalink / raw)
To: Krzysztof Kozlowski, Peter Griffin, Alim Akhtar, Andi Shyti
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc, linux-i2c
Correct "retreive" to "retrieve", 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>
---
drivers/i2c/busses/i2c-s3c2410.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index 15e14a6fe6dc..b52f09048055 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -968,7 +968,7 @@ static int s3c24xx_i2c_init(struct s3c24xx_i2c *i2c)
#ifdef CONFIG_OF
/*
- * Parse the device tree node and retreive the platform data.
+ * Parse the device tree node and retrieve the platform data.
*/
static void
s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-04 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:23 [PATCH 0/2] ARM: fix typos in comments Hemanth Selam
2026-09-04 12:23 ` [PATCH 1/2] ARM: mach-s3c: fix typo "capabilites" in comment Hemanth Selam
2026-09-04 12:23 ` [PATCH 2/2] i2c: busses: fix typo "retreive" " Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®