Thread (11 messages) flat view 11 messages, 3 authors, 5d ago

Re: [PATCH v2 1/2] Drivers: hv: vmbus: fix typo "substract" in comment

From: Naman Jain <hidden>
Date: 2026-09-07 09:21:52
Also in: lkml


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 <redacted>
Signed-off-by: Hemanth Selam <redacted>
---
Here.

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

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

Regards,
Naman
quoted hunk ↗ jump to hunk
  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;
  }
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help