* [PATCH 0/2] block: fix typos and repeated words in comments
@ 2026-09-04 11:30 Hemanth Selam
2026-09-04 11:30 ` [PATCH 1/2] block: drbd: fix typos " Hemanth Selam
2026-09-04 11:31 ` [PATCH 2/2] block: fix repeated word 'is' in comment Hemanth Selam
0 siblings, 2 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:30 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):
block: drbd: fix typos in comments
block: fix repeated word 'is' in comment
drivers/block/drbd/drbd_nl.c | 2 +-
drivers/block/drbd/drbd_req.c | 4 ++--
drivers/block/drbd/drbd_state.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] block: drbd: fix typos in comments
2026-09-04 11:30 [PATCH 0/2] block: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 11:30 ` Hemanth Selam
2026-09-05 18:25 ` Christoph Böhmwalder
2026-09-04 11:31 ` [PATCH 2/2] block: fix repeated word 'is' in comment Hemanth Selam
1 sibling, 1 reply; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:30 UTC (permalink / raw)
To: Philipp Reisner, Lars Ellenberg, Christoph Böhmwalder, Jens Axboe
Cc: linux-kernel, drbd-dev, linux-block
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/block/drbd/drbd_nl.c | 2 +-
drivers/block/drbd/drbd_req.c | 4 ++--
drivers/block/drbd/drbd_state.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c
index b77f901fc3ef..f180c2eb996c 100644
--- a/drivers/block/drbd/drbd_nl.c
+++ b/drivers/block/drbd/drbd_nl.c
@@ -605,7 +605,7 @@ bool conn_try_outdate_peer(struct drbd_connection *connection)
spin_lock_irq(&resource->req_lock);
if (connection->cstate < C_WF_REPORT_PARAMS && !test_bit(STATE_SENT, &connection->flags)) {
if (connection->connect_cnt != connect_cnt)
- /* In case the connection was established and droped
+ /* In case the connection was established and dropped
while the fence-peer handler was running, ignore it */
drbd_info(connection, "Ignoring fence-peer exit code\n");
else
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c
index 70f75ef07945..6709c45cbd5f 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -1576,7 +1576,7 @@ void do_submit(struct work_struct *ws)
* Be strictly non-blocking here,
* we already have something to commit.
*
- * Commit if we don't make any more progres.
+ * Commit if we don't make any more progress.
*/
while (list_empty(&incoming)) {
@@ -1747,7 +1747,7 @@ void request_timer_fn(struct timer_list *t)
* but which is still waiting for an ACK. */
req_peer = connection->req_ack_pending;
- /* if we don't have such request (e.g. protocoll A)
+ /* if we don't have such request (e.g. protocol A)
* check the oldest requests which is still waiting on its epoch
* closing barrier ack. */
if (!req_peer)
diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
index adcba7f1d8ea..98abd2351d6d 100644
--- a/drivers/block/drbd/drbd_state.c
+++ b/drivers/block/drbd/drbd_state.c
@@ -1339,7 +1339,7 @@ _drbd_set_state(struct drbd_device *device, union drbd_state ns,
remember_new_state(state_change);
- /* put replicated vs not-replicated requests in seperate epochs */
+ /* put replicated vs not-replicated requests in separate epochs */
if (drbd_should_do_remote((union drbd_dev_state)os.i) !=
drbd_should_do_remote((union drbd_dev_state)ns.i))
start_new_tl_epoch(connection);
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 1/2] block: drbd: fix typos in comments
2026-09-04 11:30 ` [PATCH 1/2] block: drbd: fix typos " Hemanth Selam
@ 2026-09-05 18:25 ` Christoph Böhmwalder
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Böhmwalder @ 2026-09-05 18:25 UTC (permalink / raw)
To: Hemanth Selam
Cc: Philipp Reisner, Lars Ellenberg, Jens Axboe, linux-kernel,
drbd-dev, linux-block
On Fri, Sep 04, 2026 at 05:00:59PM +0530, Hemanth Selam wrote:
>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/block/drbd/drbd_nl.c | 2 +-
> drivers/block/drbd/drbd_req.c | 4 ++--
> drivers/block/drbd/drbd_state.c | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
Typo fixes like this are usually only worth it if they come with "real"
fixes in the same general area. Otherwise, they just cause unneccessary
churn for the involved maintainers.
Regards,
Christoph
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] block: fix repeated word 'is' in comment
2026-09-04 11:30 [PATCH 0/2] block: fix typos and repeated words in comments Hemanth Selam
2026-09-04 11:30 ` [PATCH 1/2] block: drbd: fix typos " Hemanth Selam
@ 2026-09-04 11:31 ` Hemanth Selam
1 sibling, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:31 UTC (permalink / raw)
To: Philipp Reisner, Lars Ellenberg, Christoph Böhmwalder, Jens Axboe
Cc: linux-kernel, drbd-dev, linux-block
Drop the second 'is', 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/block/drbd/drbd_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
index 98abd2351d6d..679b19e6927a 100644
--- a/drivers/block/drbd/drbd_state.c
+++ b/drivers/block/drbd/drbd_state.c
@@ -1905,7 +1905,7 @@ static void after_state_ch(struct drbd_device *device, union drbd_state os,
int was_io_error = 0;
/* corresponding get_ldev was in _drbd_set_state, to serialize
* our cleanup here with the transition to D_DISKLESS.
- * But is is still not save to dreference ldev here, since
+ * But is still not save to dreference ldev here, since
* we might come from an failed Attach before ldev was set. */
if (device->ldev) {
rcu_read_lock();
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-05 18:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:30 [PATCH 0/2] block: fix typos and repeated words in comments Hemanth Selam
2026-09-04 11:30 ` [PATCH 1/2] block: drbd: fix typos " Hemanth Selam
2026-09-05 18:25 ` Christoph Böhmwalder
2026-09-04 11:31 ` [PATCH 2/2] block: fix repeated word 'is' 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®