hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/lib/idr.c
....@@ -100,7 +100,7 @@
100100 * @end: The maximum ID (exclusive).
101101 * @gfp: Memory allocation flags.
102102 *
103
- * Allocates an unused ID in the range specified by @nextid and @end. If
103
+ * Allocates an unused ID in the range specified by @start and @end. If
104104 * @end is <= 0, it is treated as one larger than %INT_MAX. This allows
105105 * callers to use @start + N as @end as long as N is within integer range.
106106 * The search for an unused ID will start at the last ID allocated and will