Re: [PATCH v6 01/11] mtd: core: always create master device

From: Richard Weinberger
Date: Thu Jun 12 2025 - 06:26:54 EST


----- Ursprüngliche Mail -----
> Von: "Alexander Usyskin" <alexander.usyskin@xxxxxxxxx>
> In general, it is fine for me - we have parent mtd initialized and participating
> in power management.
>
> I can't see how to bend idr_alloc to allocate from the end and corner case
> of full idr range is also will be problematic.

I expected it to work because we can track the highest mtd ID and pass limits
to idr_alloc(), no?

Thanks,
//richard