Commit 633fe795b80693a8198e7d82f66538a72d2bbba2
Committed by
Ingo Molnar
1 parent
7c526e1fef
Exists in
master
and in
39 other branches
timers: add missing kernel-doc
Add missing kernel-doc parameter notation and change function name to its new name: Warning(kernel/timer.c:543): No description found for parameter 'name' Warning(kernel/timer.c:543): No description found for parameter 'key' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: akpm <akpm@linux-foundation.org> Cc: Johannes Berg <johannes@sipsolutions.net> LKML-Reference: <20090401174723.f0bea0eb.randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 5 additions and 2 deletions Side-by-side Diff
kernel/timer.c
... | ... | @@ -524,10 +524,13 @@ |
524 | 524 | } |
525 | 525 | |
526 | 526 | /** |
527 | - * init_timer - initialize a timer. | |
527 | + * init_timer_key - initialize a timer | |
528 | 528 | * @timer: the timer to be initialized |
529 | + * @name: name of the timer | |
530 | + * @key: lockdep class key of the fake lock used for tracking timer | |
531 | + * sync lock dependencies | |
529 | 532 | * |
530 | - * init_timer() must be done to a timer prior calling *any* of the | |
533 | + * init_timer_key() must be done to a timer prior calling *any* of the | |
531 | 534 | * other timer functions. |
532 | 535 | */ |
533 | 536 | void init_timer(struct timer_list *timer) |