summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2011-11-01 01:12:36 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 01:30:56 +0100
commite3816c5407c800e4fb055d08f668286db6b7113f (patch)
tree03b758aea75b8f1baca1f08c872f4908ab4fa5e5 /lib/idr.c
parentlib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef (diff)
downloadlinux-e3816c5407c800e4fb055d08f668286db6b7113f.tar.xz
linux-e3816c5407c800e4fb055d08f668286db6b7113f.zip
lib/idr.c: fix comment for ida_get_new_above()
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/idr.c')
-rw-r--r--lib/idr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/idr.c b/lib/idr.c
index 5acf9bb10968..bbf211aea4eb 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -767,8 +767,8 @@ EXPORT_SYMBOL(ida_pre_get);
* @starting_id: id to start search at
* @p_id: pointer to the allocated handle
*
- * Allocate new ID above or equal to @ida. It should be called with
- * any required locks.
+ * Allocate new ID above or equal to @starting_id. It should be called
+ * with any required locks.
*
* If memory is required, it will return %-EAGAIN, you should unlock
* and go back to the ida_pre_get() call. If the ida is full, it will