will fix it in next version
On 10/21/22 11:51, Srinivas Kandagatla wrote:
SubGraph and Module Instance ids take 32 bits, so use idr_alloc_u32
instead of idr_alloc to able to accomdate valid ranges.
typo: accommodate.
Also worth checking https://www.kernel.org/doc/html/latest/core-api/idr.htmlThanks for this hit, this looks really good and specially lookups without Locking, this could cleanup the code a bit.
"The IDR interface is deprecated; please use the XArray instead."