Re: [PATCH v2 1/1] serial: core: Fix serial_base_match() after fixing controller port name

From: Tony Lindgren
Date: Sun Aug 06 2023 - 02:23:43 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [230806 07:34]:
> To me it seems we can't use port->port_id until multiport drivers
> initialize it, or set port->port_id automatically with ida_alloc().
>
> Meanwhile, we can just change back to using port->line assuming that
> fixes the issue for your tests. This means the port names are broken
> like we had in -rc1 but that's a cosmetic issue for now.

Sent it with a proper patch description [0].

Regards,

Tony

[0] https://lore.kernel.org/linux-serial/20230806062052.47737-1-tony@xxxxxxxxxxx/T/#u