public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] locking: fix mutex @key parameter kernel-doc notation
@ 2008-07-24 23:58 Randy Dunlap
  2008-07-28 14:52 ` Ingo Molnar
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2008-07-24 23:58 UTC (permalink / raw)
  To: lkml; +Cc: peterz, mingo, akpm, gregkh

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix @key parameter to mutex_init() and one of its callers.

Warning(linux-2.6.26-git11//drivers/base/class.c:210): No description found for parameter 'key'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/base/class.c |    1 +
 kernel/mutex.c       |    1 +
 2 files changed, 2 insertions(+)

--- linux-2.6.26-git11.orig/drivers/base/class.c
+++ linux-2.6.26-git11/drivers/base/class.c
@@ -198,6 +198,7 @@ static void class_create_release(struct 
  * class_create - create a struct class structure
  * @owner: pointer to the module that is to "own" this struct class
  * @name: pointer to a string for the name of this class.
+ * @key: the lock_class_key for this class; used by mutex lock debugging
  *
  * This is used to create a struct class pointer that can then be used
  * in calls to device_create().
--- linux-2.6.26-git11.orig/kernel/mutex.c
+++ linux-2.6.26-git11/kernel/mutex.c
@@ -34,6 +34,7 @@
 /***
  * mutex_init - initialize the mutex
  * @lock: the mutex to be initialized
+ * @key: the lock_class_key for the class; used by mutex lock debugging
  *
  * Initialize the mutex to unlocked state.
  *

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] locking: fix mutex @key parameter kernel-doc notation
  2008-07-24 23:58 [PATCH] locking: fix mutex @key parameter kernel-doc notation Randy Dunlap
@ 2008-07-28 14:52 ` Ingo Molnar
  2008-07-28 15:39   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2008-07-28 14:52 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, peterz, mingo, akpm, gregkh


* Randy Dunlap <randy.dunlap@oracle.com> wrote:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix @key parameter to mutex_init() and one of its callers.
> 
> Warning(linux-2.6.26-git11//drivers/base/class.c:210): No description 
> found for parameter 'key'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>

applied to tip/core/urgent, thanks Randy. Greg, any objections?

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] locking: fix mutex @key parameter kernel-doc notation
  2008-07-28 14:52 ` Ingo Molnar
@ 2008-07-28 15:39   ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2008-07-28 15:39 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Randy Dunlap, lkml, peterz, mingo, akpm

On Mon, Jul 28, 2008 at 04:52:09PM +0200, Ingo Molnar wrote:
> 
> * Randy Dunlap <randy.dunlap@oracle.com> wrote:
> 
> > From: Randy Dunlap <randy.dunlap@oracle.com>
> > 
> > Fix @key parameter to mutex_init() and one of its callers.
> > 
> > Warning(linux-2.6.26-git11//drivers/base/class.c:210): No description 
> > found for parameter 'key'
> > 
> > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> 
> applied to tip/core/urgent, thanks Randy. Greg, any objections?

No objection from me:
	Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-28 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 23:58 [PATCH] locking: fix mutex @key parameter kernel-doc notation Randy Dunlap
2008-07-28 14:52 ` Ingo Molnar
2008-07-28 15:39   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox