mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] orangefs: fix typos and repeated words in comments
@ 2026-09-04 12:07 Hemanth Selam
  2026-09-04 12:07 ` [PATCH 1/2] orangefs: fix typo "overriden" in comment Hemanth Selam
  2026-09-04 12:07 ` [PATCH 2/2] orangefs: fix repeated word in log message Hemanth Selam
  0 siblings, 2 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:07 UTC (permalink / raw)
  Cc: 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):
  orangefs: fix typo "overriden" in comment
  orangefs: fix repeated word in log message

 fs/orangefs/file.c             | 2 +-
 fs/orangefs/orangefs-debugfs.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] orangefs: fix typo "overriden" in comment
  2026-09-04 12:07 [PATCH 0/2] orangefs: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 12:07 ` Hemanth Selam
  2026-09-04 12:07 ` [PATCH 2/2] orangefs: fix repeated word in log message Hemanth Selam
  1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:07 UTC (permalink / raw)
  To: Mike Marshall, Martin Brandenburg; +Cc: linux-kernel, devel

Correct "overriden" to "overridden", 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>
---
 fs/orangefs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index 42591252e239..2de49bece1b2 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -490,7 +490,7 @@ static int orangefs_fsync(struct file *file,
 /*
  * Change the file pointer position for an instance of an open file.
  *
- * \note If .llseek is overriden, we must acquire lock as described in
+ * \note If .llseek is overridden, we must acquire lock as described in
  *       Documentation/filesystems/locking.rst.
  *
  * Future upgrade could support SEEK_DATA and SEEK_HOLE but would
-- 
2.48.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] orangefs: fix repeated word in log message
  2026-09-04 12:07 [PATCH 0/2] orangefs: fix typos and repeated words in comments Hemanth Selam
  2026-09-04 12:07 ` [PATCH 1/2] orangefs: fix typo "overriden" in comment Hemanth Selam
@ 2026-09-04 12:07 ` Hemanth Selam
  1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:07 UTC (permalink / raw)
  To: Mike Marshall, Martin Brandenburg; +Cc: linux-kernel, devel

Drop the word written twice, reported by checkpatch.pl as a possible
repeated word.

Only the message text changes, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 fs/orangefs/orangefs-debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/orangefs/orangefs-debugfs.c b/fs/orangefs/orangefs-debugfs.c
index 9f94919a6bc6..d48cd251d1f2 100644
--- a/fs/orangefs/orangefs-debugfs.c
+++ b/fs/orangefs/orangefs-debugfs.c
@@ -940,7 +940,7 @@ int orangefs_debugfs_new_client_mask(void __user *arg)
 	client_debug_mask.mask1 = mask2_info.mask1_value;
 	client_debug_mask.mask2 = mask2_info.mask2_value;
 
-	pr_info("%s: client debug mask has been been received "
+	pr_info("%s: client debug mask has been received "
 		":%llx: :%llx:\n",
 		__func__,
 		(unsigned long long)client_debug_mask.mask1,
-- 
2.48.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-04 12:08 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:07 [PATCH 0/2] orangefs: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:07 ` [PATCH 1/2] orangefs: fix typo "overriden" in comment Hemanth Selam
2026-09-04 12:07 ` [PATCH 2/2] orangefs: fix repeated word in log message 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®