Hi Jan, Thank you for the patch.
On Fri, Oct 16, 2026 at 09:26, Jan Kehren <[email protected]> wrote: > blk_get_uclass_name() turns an interface type into a name, but there is no > public way to go the other way. The driver model block layer already has > the lookup, as a static helper behind blk_get_devnum_by_uclass_idname(), > which resolves a device at the same time. > > A caller that wants to accept an interface name from the user, and only > resolve a device later, has no way to tell a bad name from a device that > is not there yet. Export the lookup under a name that mirrors its > counterpart, and add the legacy block layer equivalent. > > Signed-off-by: Jan Kehren <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
