On Tue, Dec 05, 2023 at 06:08:37PM +0200, Andy Shevchenko wrote: > On Tue, Dec 05, 2023 at 09:32:36AM +0200, Tony Lindgren wrote: ... > > + pr_err("Could not add preferred console for %s idx %i\n", > > + serial8250_reg.dev_name, idx); And, btw, you can simply reuse name here pr_err("Could not add preferred console for %s\n", name); Would it work? -- With Best Regards, Andy Shevchenko