io_uring: fix documentation
PATCH 1/1 io_uring: fix documentation
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(-)
io_uring/io_uring.c +3 -3
@@ -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
Signature · 1 line
2.30.2
Jens Axboe
maintainerQuoted 10 lines · Dylan Yudaken
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.
Yeah, I'm going to fold that in with the -rc4 rebase.
Signature · 1 line
Jens Axboe