diff options
author | Ariel Marcovitch <arielmarcovitch@gmail.com> | 2023-08-26 20:33:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-23 10:48:14 +0200 |
commit | 5c6e0a8d64fd271ee37f3f1d5daf84750e219b16 (patch) | |
tree | 929fe0dfcaf6d5c1b6939c45bb6c70b21c0b2d79 /lib | |
parent | e680d8057d8390606a460741c9322be4a9b9dce2 (diff) | |
download | linux-stable-5c6e0a8d64fd271ee37f3f1d5daf84750e219b16.tar.gz linux-stable-5c6e0a8d64fd271ee37f3f1d5daf84750e219b16.tar.bz2 linux-stable-5c6e0a8d64fd271ee37f3f1d5daf84750e219b16.zip |
idr: fix param name in idr_alloc_cyclic() doc
[ Upstream commit 2a15de80dd0f7e04a823291aa9eb49c5294f56af ]
The relevant parameter is 'start' and not 'nextid'
Fixes: 460488c58ca8 ("idr: Remove idr_alloc_ext")
Signed-off-by: Ariel Marcovitch <arielmarcovitch@gmail.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/idr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c index 82c24a417dc6..432a985bf772 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -103,7 +103,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 |