mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 12:42:50 +00:00
idr: describe how nextidp works in idr_get_next().
It was unclear in original kernel-doc how nextidp worked in idr_get_next(). Let's describe it. Signed-off-by: Naohiro Aota <naota@elisp.net> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
ea24ea850b
commit
1458ce166c
1 changed files with 2 additions and 1 deletions
|
@ -589,7 +589,8 @@ EXPORT_SYMBOL(idr_for_each);
|
|||
* @nextidp: pointer to lookup key
|
||||
*
|
||||
* Returns pointer to registered object with id, which is next number to
|
||||
* given id.
|
||||
* given id. After being looked up, *@nextidp will be updated for the next
|
||||
* iteration.
|
||||
*/
|
||||
|
||||
void *idr_get_next(struct idr *idp, int *nextidp)
|
||||
|
|
Loading…
Reference in a new issue