Skip to contentSkip to conversation

futex: Fix futex_do_wait() reference in kernel-doc

PATCH In review Karl Mehltretter 2 participants 2 messages Sep 11 – Sep 14 Futex

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 futex: Fix futex_do_wait() reference in kernel-doc

The kernel-doc comment of futex_wait_requeue_pi() refers to futex_wait_queue, which was renamed to futex_do_wait by commit 93f1b6d79a73 ("futex: Move futex_queue() into futex_wait_setup()"). Say futex_do_wait.

Fixes 93f1b6d79a73 ("futex: Move futex_queue() into futex_wait_setup()")
Assisted-by LLM
---
 kernel/futex/requeue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/futex/requeue.c +1 -1
index b3f4a4bccb12635f8e621420cb22511ab2c75ad8..6979cee4b69d9ed863bb00583942138227f20720 100644
@@ -768,7 +768,7 @@ int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb,
  * without one, the pi logic would not know which task to boost/deboost, if
  * there was a need to.
  *
- * We call schedule in futex_wait_queue() when we enqueue and return there
+ * We call schedule in futex_do_wait() when we enqueue and return there
  * via the following--
  * 1) wakeup on uaddr2 after an atomic lock acquisition by futex_requeue()
  * 2) wakeup on uaddr2 after a requeue
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Karl Mehltretter

The kernel-doc comment of futex_wait_requeue_pi() refers to futex_wait_queue, which was renamed to futex_do_wait by commit 93f1b6d79a73 ("futex: Move futex_queue() into futex_wait_setup()"). Say futex_do_wait.

Fixes 93f1b6d79a73 ("futex: Move futex_queue() into futex_wait_setup()")
Assisted-by LLM

Sebastian