Commit 0e241ffd authored by Randy Dunlap's avatar Randy Dunlap Committed by Ingo Molnar

locking: fix mutex @key parameter kernel-doc notation

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c9272c4f
...@@ -198,6 +198,7 @@ static void class_create_release(struct class *cls) ...@@ -198,6 +198,7 @@ static void class_create_release(struct class *cls)
* class_create - create a struct class structure * class_create - create a struct class structure
* @owner: pointer to the module that is to "own" this struct class * @owner: pointer to the module that is to "own" this struct class
* @name: pointer to a string for the name of this 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 * This is used to create a struct class pointer that can then be used
* in calls to device_create(). * in calls to device_create().
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
/*** /***
* mutex_init - initialize the mutex * mutex_init - initialize the mutex
* @lock: the mutex to be initialized * @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. * Initialize the mutex to unlocked state.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment