Re: [PATCH v2 3/3] printk: fix double printing with earlycon

2017-03-02 Thread Aleksey Makarov
On 03/02/2017 04:11 PM, Aleksey Makarov wrote: > If a console was specified by ACPI SPCR table _and_ command line > parameters like "console=ttyAMA0" _and_ "earlycon" were specified, > then log messages appear twice. > > The root cause is that the code traverses the list of specified > consoles

Re: [PATCH v2 3/3] printk: fix double printing with earlycon

2017-03-02 Thread Aleksey Makarov
On 03/02/2017 04:11 PM, Aleksey Makarov wrote: > If a console was specified by ACPI SPCR table _and_ command line > parameters like "console=ttyAMA0" _and_ "earlycon" were specified, > then log messages appear twice. > > The root cause is that the code traverses the list of specified > consoles

[PATCH v2 3/3] printk: fix double printing with earlycon

2017-03-02 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appear twice. The root cause is that the code traverses the list of specified consoles (the `console_cmdline` array) and stops at the first match.

[PATCH v2 3/3] printk: fix double printing with earlycon

2017-03-02 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appear twice. The root cause is that the code traverses the list of specified consoles (the `console_cmdline` array) and stops at the first match.