Skip to content

Commit e4776b8

Browse files
committed
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Thomas Gleixner: "Two patches addressing build warnings caused by inconsistent kernel doc comments" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/wait: Clean up some documentation warnings sched/core: Fix some documentation build warnings
2 parents dbc52a8 + 6c423f5 commit e4776b8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/linux/wait.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -529,13 +529,13 @@ do { \
529529

530530
/**
531531
* wait_event_interruptible_hrtimeout - sleep until a condition gets true or a timeout elapses
532-
* @wq_head: the waitqueue to wait on
532+
* @wq: the waitqueue to wait on
533533
* @condition: a C expression for the event to wait for
534534
* @timeout: timeout, as a ktime_t
535535
*
536536
* The process is put to sleep (TASK_INTERRUPTIBLE) until the
537537
* @condition evaluates to true or a signal is received.
538-
* The @condition is checked each time the waitqueue @wq_head is woken up.
538+
* The @condition is checked each time the waitqueue @wq is woken up.
539539
*
540540
* wake_up() has to be called after changing any variable that could
541541
* change the result of the wait condition.
@@ -735,12 +735,12 @@ extern int do_wait_intr_irq(wait_queue_head_t *, wait_queue_entry_t *);
735735

736736
/**
737737
* wait_event_killable - sleep until a condition gets true
738-
* @wq: the waitqueue to wait on
738+
* @wq_head: the waitqueue to wait on
739739
* @condition: a C expression for the event to wait for
740740
*
741741
* The process is put to sleep (TASK_KILLABLE) until the
742742
* @condition evaluates to true or a signal is received.
743-
* The @condition is checked each time the waitqueue @wq is woken up.
743+
* The @condition is checked each time the waitqueue @wq_head is woken up.
744744
*
745745
* wake_up() has to be called after changing any variable that could
746746
* change the result of the wait condition.

kernel/sched/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags)
20692069
/**
20702070
* try_to_wake_up_local - try to wake up a local task with rq lock held
20712071
* @p: the thread to be awakened
2072-
* @cookie: context's cookie for pinning
2072+
* @rf: request-queue flags for pinning
20732073
*
20742074
* Put @p on the run-queue if it's not already there. The caller must
20752075
* ensure that this_rq() is locked, @p is bound to this_rq() and not

0 commit comments

Comments
 (0)