public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH for-next] io_uring: fix documentation
@ 2022-06-23  8:21 Dylan Yudaken
  2022-06-23 13:59 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Dylan Yudaken @ 2022-06-23  8:21 UTC (permalink / raw)
  To: axboe, asml.silence, io-uring; +Cc: Dylan Yudaken, kernel test robot

The doc strings were incorrect, fix these up

Reported-by: kernel test robot <[email protected]>
Fixes: c0808632a83a ("io_uring: introduce llist helpers")
Signed-off-by: Dylan Yudaken <[email protected]>
---

Hi,

You may want to just fold this into the original commit.

Dylan

 io_uring/io_uring.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index cbbec1cecad3..894652eae449 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -1023,13 +1023,13 @@ static unsigned int handle_tw_list(struct llist_node *node,
  * The order of entries returned is from the newest to the oldest added one.
  */
 static inline struct llist_node *io_llist_xchg(struct llist_head *head,
-					       struct llist_node *node)
+					       struct llist_node *new)
 {
-	return xchg(&head->first, node);
+	return xchg(&head->first, new);
 }
 
 /**
- * io_llist_xchg - possibly swap all entries in a lock-less list
+ * io_llist_cmpxchg - possibly swap all entries in a lock-less list
  * @head:	the head of lock-less list to delete all entries
  * @old:	expected old value of the first entry of the list
  * @new:	new entry as the head of the list

base-commit: 5ec69c3a15ae6e904d76545d9a9c686eb758def0
-- 
2.30.2


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

end of thread, other threads:[~2022-06-23 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-23  8:21 [PATCH for-next] io_uring: fix documentation Dylan Yudaken
2022-06-23 13:59 ` Jens Axboe

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