[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090401174723.f0bea0eb.randy.dunlap@oracle.com>
Date: Wed, 1 Apr 2009 17:47:23 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>,
Johannes Berg <johannes@...solutions.net>
Subject: [PATCH] timers: add missing kernel-doc
From: Randy Dunlap <randy.dunlap@...cle.com>
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@...cle.com>
cc: Johannes Berg <johannes@...solutions.net>
---
kernel/timer.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--- linux-2.6.29-git8.orig/kernel/timer.c
+++ linux-2.6.29-git8/kernel/timer.c
@@ -531,10 +531,13 @@ static void __init_timer(struct timer_li
}
/**
- * init_timer - initialize a timer.
+ * init_timer_key - initialize a timer
* @timer: the timer to be initialized
+ * @name: name of the timer
+ * @key: lockdep class key of the fake lock used for tracking timer
+ * sync lock dependencies
*
- * init_timer() must be done to a timer prior calling *any* of the
+ * init_timer_key() must be done to a timer prior calling *any* of the
* other timer functions.
*/
void init_timer_key(struct timer_list *timer,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists