Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter
From: Manuel Schölling
Date: Fri Feb 03 2017 - 11:06:19 EST
Hi Paul,
On Thu, 2017-02-02 at 15:07 -0500, Paul Gortmaker wrote:
> On Tue, Jan 10, 2017 at 4:28 PM, Manuel SchÃlling
> <manuel.schoelling@xxxxxx> wrote:
> > The impact of the persistent scrollback feature on the code size is
> > rather small, so the config option is removed. The feature stays
> > disabled by default and can be enabled by using the boot command
> > line
> > parameter 'vgacon.scrollback_persistent=1' or by setting
> > VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT=y.
> >
> > Signed-off-by: Manuel SchÃlling <manuel.schoelling@xxxxxx>
> > Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
> > ---
>
> [...]
>
> > +module_param_named(scrollback_persistent, scrollback_persistent,
> > bool, 0000);
> > +MODULE_PARM_DESC(scrollback_persistent, "Enable persistent
> > scrollback for all vga consoles");
>
> Since this hasn't got widespread deployment yet andÂÂonly exists
> in Greg's tree, can we please fix the above to use setup_param or
> similar, since there is nothing modular about this code at all.
Not sure what you mean here.
If this is not the right may to declare it I'd be more than happy to
change this. But I could not find any function/macro named setup_param
[1].
It would be great if you could give me a hint what function to use
here!
Have a great weekend!
Manuel
[1] http://lxr.free-electrons.com/ident?i=setup_param