mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Drivers: hv: fix typos in comments
@ 2026-09-07  4:49 Hemanth Selam
  2026-09-07  4:49 ` [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment Hemanth Selam
  2026-09-07  4:49 ` [PATCH v2 2/2] tools/hv: fix typo "retrive" " Hemanth Selam
  0 siblings, 2 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:49 UTC (permalink / raw)
  To: K . Y . Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui, Long Li
  Cc: linux-hyperv, linux-kernel

This is v2 of the spelling fixes for this tree.

Changes since v1:
Subject prefix of patch 1 corrected to 'Drivers: hv: vmbus:'.
Michael Kelley's Reviewed-by tags are picked up.

Only comments change; no code is touched.

 drivers/hv/channel.c        | 2 +-
 tools/hv/hv_get_dns_info.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


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

* [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment
  2026-09-07  4:49 [PATCH v2 0/2] Drivers: hv: fix typos in comments Hemanth Selam
@ 2026-09-07  4:49 ` Hemanth Selam
  2026-09-07  9:21   ` Naman Jain
  2026-09-07  4:49 ` [PATCH v2 2/2] tools/hv: fix typo "retrive" " Hemanth Selam
  1 sibling, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:49 UTC (permalink / raw)
  To: K . Y . Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui, Long Li
  Cc: linux-hyperv, linux-kernel, Michael Kelley

Correct "substract" to "subtract", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt.  Only touches a comment, no
code changes.

The subject prefix changed since v1, from "hv:" to "Drivers: hv: vmbus:",
for consistency with the rest of the subsystem's history as Michael Kelley
pointed out.

Assisted-by: Cursor:claude-opus-5
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
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;
 }

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

* [PATCH v2 2/2] tools/hv: fix typo "retrive" in comment
  2026-09-07  4:49 [PATCH v2 0/2] Drivers: hv: fix typos in comments Hemanth Selam
  2026-09-07  4:49 ` [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment Hemanth Selam
@ 2026-09-07  4:49 ` Hemanth Selam
  1 sibling, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:49 UTC (permalink / raw)
  To: K . Y . Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui, Long Li
  Cc: linux-hyperv, linux-kernel, Michael Kelley

Correct "retrive" to "retrieve", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt.  Only touches a comment, no
code changes.

Assisted-by: Cursor:claude-opus-5
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
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.

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

* Re: [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment
  2026-09-07  4:49 ` [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment Hemanth Selam
@ 2026-09-07  9:21   ` Naman Jain
  2026-09-07 11:42     ` Hemanth Selam
  0 siblings, 1 reply; 5+ messages in thread
From: Naman Jain @ 2026-09-07  9:21 UTC (permalink / raw)
  To: Hemanth Selam, K . Y . Srinivasan, Haiyang Zhang, Wei Liu,
	Dexuan Cui, Long Li
  Cc: linux-hyperv, linux-kernel, Michael Kelley



On 9/7/2026 10:19 AM, Hemanth Selam wrote:
> Correct "substract" to "subtract", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt.  Only touches a comment, no
> code changes.
> 
> The subject prefix changed since v1, from "hv:" to "Drivers: hv: vmbus:",
> for consistency with the rest of the subsystem's history as Michael Kelley
> pointed out.

Hi,
The change-log (these 3 lines) go after "---" line as a comment so that 
these do not get propagated to the git log in kernel tree.

> 
> Assisted-by: Cursor:claude-opus-5
> Reviewed-by: Michael Kelley <mhklinux@outlook.com>
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---

Here.

Refer: https://docs.kernel.org/process/submitting-patches.html#commentary

Example: 
https://lore.kernel.org/all/20260907054742.235389-1-namjain@linux.microsoft.com/

Regards,
Naman

>   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;
>   }


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

* Re: [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment
  2026-09-07  9:21   ` Naman Jain
@ 2026-09-07 11:42     ` Hemanth Selam
  0 siblings, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-07 11:42 UTC (permalink / raw)
  To: Naman Jain
  Cc: K . Y . Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui, Long Li,
	linux-hyperv, linux-kernel, Michael Kelley

On Mon, 07 Sep 2026, Naman Jain wrote:
> The change-log (these 3 lines) go after "---" line as a comment so that
> these do not get propagated to the git log in kernel tree.

Understood, thanks for the pointer and the example.  The changelog belongs
below the "---", not in the commit message.  I have moved it there for the
respins that went out after this one.

Since the diff itself is unchanged and Michael's Reviewed-by still stands,
please just drop the three lines when you apply it.  Happy to send a v3
with the changelog in the right place if you would rather have that.

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

end of thread, other threads:[~2026-09-07 11:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  4:49 [PATCH v2 0/2] Drivers: hv: fix typos in comments Hemanth Selam
2026-09-07  4:49 ` [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment Hemanth Selam
2026-09-07  9:21   ` Naman Jain
2026-09-07 11:42     ` Hemanth Selam
2026-09-07  4:49 ` [PATCH v2 2/2] tools/hv: fix typo "retrive" " 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®