Skip to content

Commit bf50f0e

Browse files
Jonathan CorbetIngo Molnar
authored andcommitted
sched/core: Fix some documentation build warnings
The kerneldoc comments for try_to_wake_up_local() were out of date, leading to these documentation build warnings: ./kernel/sched/core.c:2080: warning: No description found for parameter 'rf' ./kernel/sched/core.c:2080: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' Update the comment to reflect current reality and give us some peace and quiet. Signed-off-by: Jonathan Corbet <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 520eccd commit bf50f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)