aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2011-10-31 17:12:36 -0700
committerZiyan <jaraidaniel@gmail.com>2016-01-08 10:36:48 +0100
commiteb0721b01484f55fa812f888a7442e3fb0ada4e0 (patch)
treef66289bd582ff33e2989eea9b63103189af54930 /lib
parente319b846307f948442d406004bec9a0e0b49f342 (diff)
downloadkernel_samsung_tuna-eb0721b01484f55fa812f888a7442e3fb0ada4e0.zip
kernel_samsung_tuna-eb0721b01484f55fa812f888a7442e3fb0ada4e0.tar.gz
kernel_samsung_tuna-eb0721b01484f55fa812f888a7442e3fb0ada4e0.tar.bz2
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')
-rw-r--r--lib/idr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/idr.c b/lib/idr.c
index 412ba43..07cb4c80 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -774,8 +774,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