Linux-HyperV List
 help / color / mirror / Atom feed
* [PATCH] Drivers: hv: vmbus: fix typo in function name reference
@ 2025-12-30 14:14 Julia Lawall
  2025-12-30 14:18 ` vdso
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2025-12-30 14:14 UTC (permalink / raw)
  To: K. Y. Srinivasan
  Cc: yunbolyu, kexinsun, ratnadiraw, xutong.ma, Haiyang Zhang, Wei Liu,
	Dexuan Cui, Long Li, linux-hyperv, linux-kernel

Replace cmxchg by cmpxchg.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/hv/hyperv_vmbus.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index b2862e0a317a..cdbc5f5c3215 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -375,7 +375,7 @@ static inline void vmbus_signal_eom(struct hv_message *msg, u32 old_msg_type)
 		return;
 
 	/*
-	 * The cmxchg() above does an implicit memory barrier to
+	 * The cmpxchg() above does an implicit memory barrier to
 	 * ensure the write to MessageType (ie set to
 	 * HVMSG_NONE) happens before we read the
 	 * MessagePending and EOMing. Otherwise, the EOMing


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

end of thread, other threads:[~2026-01-15  7:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-30 14:14 [PATCH] Drivers: hv: vmbus: fix typo in function name reference Julia Lawall
2025-12-30 14:18 ` vdso
2026-01-15  7:00   ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox