RFC IDR fix for potential id mismatch
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | idr: do not create idr if new id would be outside given rangelib/ | +12 | 10 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/1] IDR fix for potential id mismatch
When debugging an issue found in drm subsystem (link to the discussion in Link tag), a bug was found in idr library where requesting id in range would return id outside requested range. Didn't see in documentation that this is how idr should behave.
This is an RFC as this library is deprecated but still in use by other subsystems. Is this fix proper?
Cc "Christian König" <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Andrew Morton <[email protected]>
---
Jan Sokolowski (1):
idr: do not create idr if new id would be outside given range
lib/idr.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Signature · 1 line
2.43.0