提交 e3816c54 编写于 作者: W Wang Sheng-Hui 提交者: Linus Torvalds

lib/idr.c: fix comment for ida_get_new_above()

Signed-off-by: NWang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3a8495c7
...@@ -767,8 +767,8 @@ EXPORT_SYMBOL(ida_pre_get); ...@@ -767,8 +767,8 @@ EXPORT_SYMBOL(ida_pre_get);
* @starting_id: id to start search at * @starting_id: id to start search at
* @p_id: pointer to the allocated handle * @p_id: pointer to the allocated handle
* *
* Allocate new ID above or equal to @ida. It should be called with * Allocate new ID above or equal to @starting_id. It should be called
* any required locks. * with any required locks.
* *
* If memory is required, it will return %-EAGAIN, you should unlock * 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 * and go back to the ida_pre_get() call. If the ida is full, it will
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册