* 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