* [PATCH 0/2] hv: fix typos in comments
@ 2026-09-04 12:08 Hemanth Selam
2026-09-04 12:08 ` [PATCH 1/2] hv: fix typo "substract" in comment Hemanth Selam
2026-09-04 12:08 ` [PATCH 2/2] tools/hv: fix typo "retrive" " Hemanth Selam
0 siblings, 2 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:08 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):
hv: fix typo "substract" in comment
tools/hv: fix typo "retrive" in comment
drivers/hv/channel.c | 2 +-
tools/hv/hv_get_dns_info.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] hv: fix typo "substract" in comment
2026-09-04 12:08 [PATCH 0/2] hv: fix typos in comments Hemanth Selam
@ 2026-09-04 12:08 ` Hemanth Selam
2026-09-04 15:13 ` Michael Kelley
2026-09-04 12:08 ` [PATCH 2/2] tools/hv: fix typo "retrive" " Hemanth Selam
1 sibling, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:08 UTC (permalink / raw)
To: K. Y. Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui, Long Li
Cc: linux-kernel, linux-hyperv
Correct "substract" to "subtract", 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/hv/channel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index f4370617deac..c36ec14529b9 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -79,7 +79,7 @@ static inline u32 hv_ring_gpadl_send_hvpgoffset(u32 offset)
* therefore leaving a (PAGE_SIZE - HV_HYP_PAGE_SIZE) gap.
*
* And to calculate the effective send offset in gpadl, we need to
- * substract this gap.
+ * subtract this gap.
*/
return (offset - (PAGE_SIZE - HV_HYP_PAGE_SIZE)) >> HV_HYP_PAGE_SHIFT;
}
--
2.48.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] tools/hv: fix typo "retrive" in comment
2026-09-04 12:08 [PATCH 0/2] hv: fix typos in comments Hemanth Selam
2026-09-04 12:08 ` [PATCH 1/2] hv: fix typo "substract" in comment Hemanth Selam
@ 2026-09-04 12:08 ` Hemanth Selam
2026-09-04 15:15 ` Michael Kelley
1 sibling, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:08 UTC (permalink / raw)
To: K. Y. Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui, Long Li
Cc: linux-kernel, linux-hyperv
Correct "retrive" 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>
---
tools/hv/hv_get_dns_info.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/hv/hv_get_dns_info.sh b/tools/hv/hv_get_dns_info.sh
index 268521234d4b..288821565eee 100755
--- a/tools/hv/hv_get_dns_info.sh
+++ b/tools/hv/hv_get_dns_info.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This example script parses /etc/resolv.conf to retrive DNS information.
+# This example script parses /etc/resolv.conf to retrieve DNS information.
# In the interest of keeping the KVP daemon code free of distro specific
# information; the kvp daemon code invokes this external script to gather
# DNS information.
--
2.48.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 1/2] hv: fix typo "substract" in comment
2026-09-04 12:08 ` [PATCH 1/2] hv: fix typo "substract" in comment Hemanth Selam
@ 2026-09-04 15:13 ` Michael Kelley
0 siblings, 0 replies; 5+ messages in thread
From: Michael Kelley @ 2026-09-04 15:13 UTC (permalink / raw)
To: Hemanth Selam, K. Y. Srinivasan, Haiyang Zhang, Wei Liu,
Dexuan Cui, Long Li
Cc: linux-kernel, linux-hyperv
From: Hemanth Selam <hemanth.selam@gmail.com> Sent: Friday, September 4, 2026 5:09 AM
>
Nit: For the "Subject" prefix of this patch, instead of "hv:", use
"Drivers: hv: vmbus:". This is for historical consistency.
Modulo the nit,
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
> Correct "substract" to "subtract", 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/hv/channel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
> index f4370617deac..c36ec14529b9 100644
> --- a/drivers/hv/channel.c
> +++ b/drivers/hv/channel.c
> @@ -79,7 +79,7 @@ static inline u32 hv_ring_gpadl_send_hvpgoffset(u32 offset)
> * therefore leaving a (PAGE_SIZE - HV_HYP_PAGE_SIZE) gap.
> *
> * And to calculate the effective send offset in gpadl, we need to
> - * substract this gap.
> + * subtract this gap.
> */
> return (offset - (PAGE_SIZE - HV_HYP_PAGE_SIZE)) >> HV_HYP_PAGE_SHIFT;
> }
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 2/2] tools/hv: fix typo "retrive" in comment
2026-09-04 12:08 ` [PATCH 2/2] tools/hv: fix typo "retrive" " Hemanth Selam
@ 2026-09-04 15:15 ` Michael Kelley
0 siblings, 0 replies; 5+ messages in thread
From: Michael Kelley @ 2026-09-04 15:15 UTC (permalink / raw)
To: Hemanth Selam, K. Y. Srinivasan, Haiyang Zhang, Wei Liu,
Dexuan Cui, Long Li
Cc: linux-kernel, linux-hyperv
From: Hemanth Selam <hemanth.selam@gmail.com> Sent: Friday, September 4, 2026 5:09 AM
>
> Correct "retrive" 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>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
> ---
> tools/hv/hv_get_dns_info.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/hv/hv_get_dns_info.sh b/tools/hv/hv_get_dns_info.sh
> index 268521234d4b..288821565eee 100755
> --- a/tools/hv/hv_get_dns_info.sh
> +++ b/tools/hv/hv_get_dns_info.sh
> @@ -1,6 +1,6 @@
> #!/bin/sh
>
> -# This example script parses /etc/resolv.conf to retrive DNS information.
> +# This example script parses /etc/resolv.conf to retrieve DNS information.
> # In the interest of keeping the KVP daemon code free of distro specific
> # information; the kvp daemon code invokes this external script to gather
> # DNS information.
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-09-04 15:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:08 [PATCH 0/2] hv: fix typos in comments Hemanth Selam
2026-09-04 12:08 ` [PATCH 1/2] hv: fix typo "substract" in comment Hemanth Selam
2026-09-04 15:13 ` Michael Kelley
2026-09-04 12:08 ` [PATCH 2/2] tools/hv: fix typo "retrive" " Hemanth Selam
2026-09-04 15:15 ` Michael Kelley
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®