hv: fix typos in comments
Subsystems (2)
cover hv: fix typos in comments
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(-)
Signature · 1 line
2.48.1
PATCH 1/2 hv: fix typo "substract" in comment
Correct "substract" to "subtract", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- drivers/hv/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hv/channel.c +1 -1
@@ -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 ; }
Signature · 1 line
2.48.1
RE: [PATCH 1/2] hv: fix typo "substract" in comment
From: Hemanth Selam <[email protected]> Sent: Friday, September 4, 2026 5:09 AM
Quoted 1 line
Nit: For the "Subject" prefix of this patch, instead of "hv:", use "Drivers: hv: vmbus:". This is for historical consistency.
Modulo the nit,
Quoted 26 lines
Correct "substract" to "subtract", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- drivers/hv/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hv/channel.c +1
-2@@ -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
PATCH 2/2 tools/hv: fix typo "retrive" in comment
In reply to Hemanth SelamCorrect "retrive" to "retrieve", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- tools/hv/hv_get_dns_info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/hv/hv_get_dns_info.sh +1 -1
@@ -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.
Signature · 1 line
2.48.1
RE: [PATCH 2/2] tools/hv: fix typo "retrive" in comment
From: Hemanth Selam <[email protected]> Sent: Friday, September 4, 2026 5:09 AM
Quoted 7 lines
Correct "retrive" to "retrieve", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 19 lines
--- tools/hv/hv_get_dns_info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/hv/hv_get_dns_info.sh +1
-2@@ -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