Skip to content

Commit fc55818

Browse files
JuliaLawallliuw
authored andcommitted
Drivers: hv: vmbus: fix typo in function name reference
Replace cmxchg by cmpxchg. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: Roman Kisel <vdso@mailbox.org> Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent 173d6f6 commit fc55818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hv/hyperv_vmbus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static inline void vmbus_signal_eom(struct hv_message *msg, u32 old_msg_type)
375375
return;
376376

377377
/*
378-
* The cmxchg() above does an implicit memory barrier to
378+
* The cmpxchg() above does an implicit memory barrier to
379379
* ensure the write to MessageType (ie set to
380380
* HVMSG_NONE) happens before we read the
381381
* MessagePending and EOMing. Otherwise, the EOMing

0 commit comments

Comments
 (0)