[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-633fe795b80693a8198e7d82f66538a72d2bbba2@git.kernel.org>
Date: Thu, 2 Apr 2009 03:57:44 GMT
From: Randy Dunlap <randy.dunlap@...cle.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
johannes@...solutions.net, akpm@...ux-foundation.org,
tglx@...utronix.de, randy.dunlap@...cle.com, mingo@...e.hu
Subject: [tip:timers/urgent] timers: add missing kernel-doc
Commit-ID: 633fe795b80693a8198e7d82f66538a72d2bbba2
Gitweb: http://git.kernel.org/tip/633fe795b80693a8198e7d82f66538a72d2bbba2
Author: Randy Dunlap <randy.dunlap@...cle.com>
AuthorDate: Wed, 1 Apr 2009 17:47:23 -0700
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Thu, 2 Apr 2009 05:54:00 +0200
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@...cle.com>
Cc: akpm <akpm@...ux-foundation.org>
Cc: Johannes Berg <johannes@...solutions.net>
LKML-Reference: <20090401174723.f0bea0eb.randy.dunlap@...cle.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/timer.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/kernel/timer.c b/kernel/timer.c
index 9b77fc9..3af9a0b 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -524,10 +524,13 @@ static void __init_timer(struct timer_list *timer)
}
/**
- * 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(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