[PATCH] Drivers: hv: vmbus: fix typo in function name reference

Julia Lawall posted 1 patch 1 month, 1 week ago
drivers/hv/hyperv_vmbus.h |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Drivers: hv: vmbus: fix typo in function name reference
Posted by Julia Lawall 1 month, 1 week ago
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
Re: [PATCH] Drivers: hv: vmbus: fix typo in function name reference
Posted by vdso@mailbox.org 1 month, 1 week ago
> On 12/30/2025 6:14 AM  Julia Lawall <julia.lawall@inria.fr> wrote:
> 
>  
> Replace cmxchg by cmpxchg.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> 

Reviewed-by: Roman Kisel <vdso@mailbox.org>

> ---
>  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
Re: [PATCH] Drivers: hv: vmbus: fix typo in function name reference
Posted by Wei Liu 3 weeks, 3 days ago
On Tue, Dec 30, 2025 at 06:18:54AM -0800, vdso@mailbox.org wrote:
> 
> > On 12/30/2025 6:14 AM  Julia Lawall <julia.lawall@inria.fr> wrote:
> > 
> >  
> > Replace cmxchg by cmpxchg.
> > 
> > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> > 
> 
> Reviewed-by: Roman Kisel <vdso@mailbox.org>
> 

Applied. Thank you.