Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched/wait: correct kernel-doc descriptions

Use the correct function name and function parameter name to avoid
these kernel-doc warnings:

Warning: include/linux/wait_bit.h:424 expecting prototype for
wait_var_event_killable(). Prototype was for
wait_var_event_interruptible() instead
Warning: include/linux/wait_bit.h:508 function parameter 'lock' not
described in 'wait_var_event_mutex'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260302005237.3473095-1-rdunlap@infradead.org

authored by

Randy Dunlap and committed by
Peter Zijlstra
49b76317 54a66e43

+2 -2
+2 -2
include/linux/wait_bit.h
··· 406 406 schedule()) 407 407 408 408 /** 409 - * wait_var_event_killable - wait for a variable to be updated and notified 409 + * wait_var_event_interruptible - wait for a variable to be updated and notified 410 410 * @var: the address of variable being waited on 411 411 * @condition: the condition to wait for 412 412 * ··· 492 492 * wait_var_event_mutex - wait for a variable to be updated under a mutex 493 493 * @var: the address of the variable being waited on 494 494 * @condition: condition to wait for 495 - * @mutex: the mutex which protects updates to the variable 495 + * @lock: the mutex which protects updates to the variable 496 496 * 497 497 * Wait for a condition which can only be reliably tested while holding 498 498 * a mutex. The variables assessed in the condition will normal be