* [PATCH 0/3] macintosh: fix typos and repeated words in comments
@ 2026-09-04 12:45 Hemanth Selam
2026-09-04 12:45 ` [PATCH 1/3] macintosh: fix typos " Hemanth Selam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:45 UTC (permalink / raw)
Cc: linux-kernel
This corrects 3 misspellings and repeated words 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 (3):
macintosh: fix typos in comments
bus: fsl-mc: fix repeated word 'for' in comment
macintosh: fix repeated word 'up' in comment
drivers/bus/fsl-mc/fsl-mc-msi.c | 2 +-
drivers/macintosh/adbhid.c | 4 ++--
drivers/macintosh/macio_asic.c | 2 +-
drivers/macintosh/mediabay.c | 2 +-
drivers/macintosh/via-pmu.c | 6 +++---
drivers/macintosh/windfarm_lm75_sensor.c | 2 +-
drivers/macintosh/windfarm_pm81.c | 2 +-
drivers/macintosh/windfarm_pm91.c | 2 +-
drivers/soc/fsl/qbman/qman_portal.c | 2 +-
9 files changed, 12 insertions(+), 12 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] macintosh: fix typos in comments
2026-09-04 12:45 [PATCH 0/3] macintosh: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 12:45 ` Hemanth Selam
2026-09-04 12:45 ` [PATCH 2/3] bus: fsl-mc: fix repeated word 'for' in comment Hemanth Selam
2026-09-04 12:45 ` [PATCH 3/3] macintosh: fix repeated word 'up' " Hemanth Selam
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:45 UTC (permalink / raw)
To: Christophe Leroy (CS GROUP); +Cc: linux-kernel, linuxppc-dev, 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>
---
drivers/macintosh/adbhid.c | 4 ++--
drivers/macintosh/macio_asic.c | 2 +-
drivers/macintosh/via-pmu.c | 6 +++---
drivers/macintosh/windfarm_lm75_sensor.c | 2 +-
drivers/macintosh/windfarm_pm81.c | 2 +-
drivers/macintosh/windfarm_pm91.c | 2 +-
drivers/soc/fsl/qbman/qman_portal.c | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/macintosh/adbhid.c b/drivers/macintosh/adbhid.c
index 6155da58091b..68d1df6bc92d 100644
--- a/drivers/macintosh/adbhid.c
+++ b/drivers/macintosh/adbhid.c
@@ -32,7 +32,7 @@
*
* Improve Kensington support.
* Split mouse/kbd
- * Move to syfs
+ * Move to sysfs
*/
#include <linux/module.h>
@@ -604,7 +604,7 @@ adbhid_buttons_input(unsigned char *data, int nb, int autopoll)
case 0x7f:
case 0xff:
- /* keypad overlay toogle */
+ /* keypad overlay toggle */
break;
default:
diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c
index ee3caa3d87d1..926bd074352b 100644
--- a/drivers/macintosh/macio_asic.c
+++ b/drivers/macintosh/macio_asic.c
@@ -749,7 +749,7 @@ static void macio_pci_remove(struct pci_dev* pdev)
/*
* MacIO is matched against any Apple ID, it's probe() function
- * will then decide wether it applies or not
+ * will then decide whether it applies or not
*/
static const struct pci_device_id pci_ids[] = { {
.vendor = PCI_VENDOR_ID_APPLE,
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 8c652c15018c..736936152b0b 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -482,7 +482,7 @@ static int __init via_pmu_start(void)
/* Make sure PMU settle down before continuing. This is _very_ important
* since the IDE probe may shut interrupts down for quite a bit of time. If
* a PMU communication is pending while this happens, the PMU may timeout
- * Not that on Core99 machines, the PMU keeps sending us environement
+ * Not that on Core99 machines, the PMU keeps sending us environment
* messages, we should find a way to either fix IDE or make it call
* pmu_suspend() before masking interrupts. This can also happens while
* scolling with some fbdevs.
@@ -1286,7 +1286,7 @@ pmu_wait_complete(struct adb_request *req)
/* This function loops until the PMU is idle and prevents it from
* anwsering to ADB interrupts. pmu_request can still be called.
- * This is done to avoid spurrious shutdowns when we know we'll have
+ * This is done to avoid spurious shutdowns when we know we'll have
* interrupts switched off for a long time
*/
void
@@ -1549,7 +1549,7 @@ pmu_sr_intr(void)
/*
* For PMU sleep and freq change requests, we lock the
* PMU until it's explicitly unlocked. This avoids any
- * spurrious event polling getting in
+ * spurious event polling getting in
*/
current_req = req->next;
req->reply_len += data_index;
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c
index 128e9944429a..085b8c640e3a 100644
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -108,7 +108,7 @@ static int wf_lm75_probe(struct i2c_client *client)
return -ENXIO;
}
- /* Usual rant about sensor names not beeing very consistent in
+ /* Usual rant about sensor names not being very consistent in
* the device-tree, oh well ...
* Add more entries below as you deal with more setups
*/
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c
index 2a4a3746f6a0..308ed55688b2 100644
--- a/drivers/macintosh/windfarm_pm81.c
+++ b/drivers/macintosh/windfarm_pm81.c
@@ -734,7 +734,7 @@ static void wf_smu_remove(struct platform_device *ddev)
/* Release all sensors */
/* One more crappy race: I don't think we have any guarantee here
- * that the attribute callback won't race with the sensor beeing
+ * that the attribute callback won't race with the sensor being
* disposed of, and I'm not 100% certain what best way to deal
* with that except by adding locks all over... I'll do that
* eventually but heh, who ever rmmod this module anyway ?
diff --git a/drivers/macintosh/windfarm_pm91.c b/drivers/macintosh/windfarm_pm91.c
index 14089d57e5f7..d2e72d1aa6bc 100644
--- a/drivers/macintosh/windfarm_pm91.c
+++ b/drivers/macintosh/windfarm_pm91.c
@@ -656,7 +656,7 @@ static void wf_smu_remove(struct platform_device *ddev)
/* Release all sensors */
/* One more crappy race: I don't think we have any guarantee here
- * that the attribute callback won't race with the sensor beeing
+ * that the attribute callback won't race with the sensor being
* disposed of, and I'm not 100% certain what best way to deal
* with that except by adding locks all over... I'll do that
* eventually but heh, who ever rmmod this module anyway ?
diff --git a/drivers/soc/fsl/qbman/qman_portal.c b/drivers/soc/fsl/qbman/qman_portal.c
index 456ef5d5c199..e44de59ec522 100644
--- a/drivers/soc/fsl/qbman/qman_portal.c
+++ b/drivers/soc/fsl/qbman/qman_portal.c
@@ -33,7 +33,7 @@
struct qman_portal *qman_dma_portal;
EXPORT_SYMBOL(qman_dma_portal);
-/* Enable portal interupts (as opposed to polling mode) */
+/* Enable portal interrupts (as opposed to polling mode) */
#define CONFIG_FSL_DPA_PIRQ_SLOW 1
#define CONFIG_FSL_DPA_PIRQ_FAST 1
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] bus: fsl-mc: fix repeated word 'for' in comment
2026-09-04 12:45 [PATCH 0/3] macintosh: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:45 ` [PATCH 1/3] macintosh: fix typos " Hemanth Selam
@ 2026-09-04 12:45 ` Hemanth Selam
2026-09-04 12:45 ` [PATCH 3/3] macintosh: fix repeated word 'up' " Hemanth Selam
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:45 UTC (permalink / raw)
To: Ioana Ciornei; +Cc: linux-kernel, linuxppc-dev
Drop the second 'for', 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>
---
drivers/bus/fsl-mc/fsl-mc-msi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/fsl-mc/fsl-mc-msi.c b/drivers/bus/fsl-mc/fsl-mc-msi.c
index be38b43803de..7d760bfa63c1 100644
--- a/drivers/bus/fsl-mc/fsl-mc-msi.c
+++ b/drivers/bus/fsl-mc/fsl-mc-msi.c
@@ -57,7 +57,7 @@ static void fsl_mc_write_msi_msg(struct msi_desc *msi_desc, struct msi_msg *msg)
}
} else {
/*
- * IRQ is for for a child device of mc_bus_dev
+ * IRQ is for a child device of mc_bus_dev
*/
error = dprc_set_obj_irq(mc_bus_dev->mc_io,
MC_CMD_FLAG_INTR_DIS | MC_CMD_FLAG_PRI,
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] macintosh: fix repeated word 'up' in comment
2026-09-04 12:45 [PATCH 0/3] macintosh: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:45 ` [PATCH 1/3] macintosh: fix typos " Hemanth Selam
2026-09-04 12:45 ` [PATCH 2/3] bus: fsl-mc: fix repeated word 'for' in comment Hemanth Selam
@ 2026-09-04 12:45 ` Hemanth Selam
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:45 UTC (permalink / raw)
Cc: linux-kernel, linuxppc-dev
Drop the second 'up', 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>
---
drivers/macintosh/mediabay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c
index 36070c6586d1..c5115b88beb6 100644
--- a/drivers/macintosh/mediabay.c
+++ b/drivers/macintosh/mediabay.c
@@ -331,7 +331,7 @@ static void keylargo_mb_un_reset_ide(struct media_bay_info* bay)
static inline void set_mb_power(struct media_bay_info* bay, int onoff)
{
- /* Power up up and assert the bay reset line */
+ /* Power up and assert the bay reset line */
if (onoff) {
bay->ops->power(bay, 1);
bay->state = mb_powering_up;
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-04 12:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:45 [PATCH 0/3] macintosh: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:45 ` [PATCH 1/3] macintosh: fix typos " Hemanth Selam
2026-09-04 12:45 ` [PATCH 2/3] bus: fsl-mc: fix repeated word 'for' in comment Hemanth Selam
2026-09-04 12:45 ` [PATCH 3/3] macintosh: fix repeated word 'up' " 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®