Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5dffc12 authored by Ariel Marcovitch's avatar Ariel Marcovitch Committed by Greg Kroah-Hartman
Browse files

idr: fix param name in idr_alloc_cyclic() doc



[ Upstream commit 2a15de80dd0f7e04a823291aa9eb49c5294f56af ]

The relevant parameter is 'start' and not 'nextid'

Fixes: 460488c5 ("idr: Remove idr_alloc_ext")
Signed-off-by: default avatarAriel Marcovitch <arielmarcovitch@gmail.com>
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6b0cb9c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ EXPORT_SYMBOL_GPL(idr_alloc);
 * @end: The maximum ID (exclusive).
 * @gfp: Memory allocation flags.
 *
 * Allocates an unused ID in the range specified by @nextid and @end.  If
 * Allocates an unused ID in the range specified by @start and @end.  If
 * @end is <= 0, it is treated as one larger than %INT_MAX.  This allows
 * callers to use @start + N as @end as long as N is within integer range.
 * The search for an unused ID will start at the last ID allocated and will