* [PATCH 0/2] nvdimm: fix typos and repeated words in comments
@ 2026-09-07 6:34 Hemanth Selam
2026-09-07 6:34 ` [PATCH 1/2] nvdimm: fix typos " Hemanth Selam
2026-09-07 6:34 ` [PATCH 2/2] tools/testing: fix repeated word 'from' in comment Hemanth Selam
0 siblings, 2 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-07 6:34 UTC (permalink / raw)
To: Dan Williams, Vishal Verma, Dave Jiang, Alison Schofield, Ira Weiny
Cc: nvdimm, linux-kernel
This corrects 2 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 (2):
nvdimm: fix typos in comments
tools/testing: fix repeated word 'from' in comment
drivers/nvdimm/namespace_devs.c | 2 +-
include/linux/libnvdimm.h | 2 +-
tools/testing/nvdimm/test/nfit.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] nvdimm: fix typos in comments
2026-09-07 6:34 [PATCH 0/2] nvdimm: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-07 6:34 ` Hemanth Selam
2026-09-07 6:34 ` [PATCH 2/2] tools/testing: fix repeated word 'from' in comment Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-07 6:34 UTC (permalink / raw)
To: Dan Williams, Vishal Verma, Dave Jiang, Alison Schofield, Ira Weiny
Cc: nvdimm, linux-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/nvdimm/namespace_devs.c | 2 +-
include/linux/libnvdimm.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index 557fe0cb43e2..4935c6508448 100644
--- a/drivers/nvdimm/namespace_devs.c
+++ b/drivers/nvdimm/namespace_devs.c
@@ -1448,7 +1448,7 @@ struct nd_namespace_common *nvdimm_namespace_common_probe(struct device *dev)
return ERR_PTR(-ENODEV);
/*
- * Flush any in-progess probes / removals in the driver
+ * Flush any in-progress probes / removals in the driver
* for the raw personality of this namespace.
*/
device_lock(&ndns->dev);
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h
index d929d83abf3b..586421b86162 100644
--- a/include/linux/libnvdimm.h
+++ b/include/linux/libnvdimm.h
@@ -59,7 +59,7 @@ enum {
ND_REGION_PERSIST_CACHE = 1,
/*
* Platform provides mechanisms to automatically flush outstanding
- * write data from memory controler to pmem on system power loss.
+ * write data from memory controller to pmem on system power loss.
* (ADR)
*/
ND_REGION_PERSIST_MEMCTRL = 2,
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] tools/testing: fix repeated word 'from' in comment
2026-09-07 6:34 [PATCH 0/2] nvdimm: fix typos and repeated words in comments Hemanth Selam
2026-09-07 6:34 ` [PATCH 1/2] nvdimm: fix typos " Hemanth Selam
@ 2026-09-07 6:34 ` Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-07 6:34 UTC (permalink / raw)
To: Dan Williams, Vishal Verma, Dave Jiang, Alison Schofield, Ira Weiny
Cc: nvdimm, linux-kernel
Drop the second 'from', 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>
---
tools/testing/nvdimm/test/nfit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c
index 009fe107b0d7..b1802456fbc4 100644
--- a/tools/testing/nvdimm/test/nfit.c
+++ b/tools/testing/nvdimm/test/nfit.c
@@ -59,7 +59,7 @@
* *) The first portion of dimm0 and dimm1 are interleaved as REGION0.
* A single PMEM namespace "pm0.0" is created using half of the
* REGION0 SPA-range. REGION0 spans dimm0 and dimm1. PMEM namespace
- * allocate from from the bottom of a region. The unallocated
+ * allocate from the bottom of a region. The unallocated
* portion of REGION0 aliases with REGION2 and REGION3. That
* unallacted capacity is reclaimed as BLK namespaces ("blk2.0" and
* "blk3.0") starting at the base of each DIMM to offset (a) in those
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-07 6:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 6:34 [PATCH 0/2] nvdimm: fix typos and repeated words in comments Hemanth Selam
2026-09-07 6:34 ` [PATCH 1/2] nvdimm: fix typos " Hemanth Selam
2026-09-07 6:34 ` [PATCH 2/2] tools/testing: fix repeated word 'from' in comment 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®