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

From: vdso

Date: Tue Dec 30 2025 - 09:19:01 EST



> On 12/30/2025 6:14 AM Julia Lawall <julia.lawall@xxxxxxxx> wrote:
>
>
> Replace cmxchg by cmpxchg.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>
>

Reviewed-by: Roman Kisel <vdso@xxxxxxxxxxx>

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