]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
lib/idr.c: fix comment for ida_get_new_above()
authorWang Sheng-Hui <shhuiw@gmail.com>
Tue, 1 Nov 2011 00:12:36 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:56 +0000 (17:30 -0700)
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>
lib/idr.c

index 5acf9bb10968caa97ec123ca464906fff4de42bc..bbf211aea4ebed20f0190ccdf97c91baed7ad422 100644 (file)
--- 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