[PATCH for-next] io_uring: fix documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The doc strings were incorrect, fix these up

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Fixes: c0808632a83a ("io_uring: introduce llist helpers")
Signed-off-by: Dylan Yudaken <dylany@xxxxxx>
---

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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux