Re: [PATCH v6 4/6] serial: core: Add support for DEVNAME:0.0 style naming for kernel console
From: Tony Lindgren
Date: Wed Feb 14 2024 - 01:02:51 EST
* Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> [240213 15:53]:
> On Tue, Feb 13, 2024 at 10:45:11AM +0200, Tony Lindgren wrote:
> > +int serial_base_add_preferred_console(struct uart_driver *drv,
> > + struct uart_port *port)
> > +{
> > + const char *port_match __free(kfree);
>
> = NULL
>
> > + int ret;
> > +
> > + ret = serial_base_add_prefcon(drv->dev_name, port->line);
> > + if (ret)
>
> Otherwise here might be a problem.
Yes thanks for noticing it.
Regards,
Tony