Skip to content

Commit 6907944

Browse files
rddunlapakpm00
authored andcommitted
latencytop: use correct kernel-doc format for func params
Use a ':' instead of a '-' after function parameters to eliminate kernel-doc warnings. kernel/latencytop.c:177: warning: Function parameter or struct member 'tsk' not described in '__account_scheduler_latency' ../kernel/latencytop.c:177: warning: Function parameter or struct member 'usecs' not described in '__account_scheduler_latency' ../kernel/latencytop.c:177: warning: Function parameter or struct member 'inter' not described in '__account_scheduler_latency' Link: https://lkml.kernel.org/r/20250111063019.910730-1-rdunlap@infradead.org Fixes: ad0b0fd ("sched, latencytop: incorporate review feedback from Andrew Morton") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 2b97aaf commit 6907944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/latencytop.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ account_global_scheduler_latency(struct task_struct *tsk,
158158

159159
/**
160160
* __account_scheduler_latency - record an occurred latency
161-
* @tsk - the task struct of the task hitting the latency
162-
* @usecs - the duration of the latency in microseconds
163-
* @inter - 1 if the sleep was interruptible, 0 if uninterruptible
161+
* @tsk: the task struct of the task hitting the latency
162+
* @usecs: the duration of the latency in microseconds
163+
* @inter: 1 if the sleep was interruptible, 0 if uninterruptible
164164
*
165165
* This function is the main entry point for recording latency entries
166166
* as called by the scheduler.

0 commit comments

Comments
 (0)