hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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