Re: [PATCH v3 1/3] printk: Save console options for add_preferred_console_match()

From: Tony Lindgren
Date: Wed Nov 22 2023 - 01:22:17 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [231122 08:18]:
> * Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> [231121 17:53]:
> > On Tue, Nov 21, 2023 at 01:31:55PM +0200, Tony Lindgren wrote:
> > > +int __init console_opt_save(char *str)
> >
> > str is not const? Hmm...
>
> Nice yes it can be const char *str here. Hmm maybe with the third patch
> also console_setup() can use const char * now.. Will check.

Nah console_setup() uses __setup().

Tony