Skip to contentSkip to conversation

lib/idr.c: fix comment for function ida_get_new_above

PATCH New Wang Sheng-Hui 1 participant 1 message Sep 6, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/idr.c: fix comment for function ida_get_new_above

The patch is against 3.1-rc3 kernel.

---
 lib/idr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
lib/idr.c +2 -2
index db040ce..58b56e1 100644
@@ -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
Signature · 1 line
1.7.1