From: Wang Sheng-Hui Date: Wed, 5 Oct 2011 00:43:37 +0000 (+1100) Subject: lib/idr.c: fix comment for ida_get_new_above() X-Git-Tag: next-20111012~1^2~82 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=564a3922cafc0c91f3a3f6e8049ebbcf54deab92;p=karo-tx-linux.git lib/idr.c: fix comment for ida_get_new_above() Signed-off-by: Wang Sheng-Hui Signed-off-by: Andrew Morton --- 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