Re: [PATCH v4 00/11] printk: Clean up preferred console handling

From: Petr Mladek

Date: Tue Jul 14 2026 - 04:44:06 EST


On Thu 2026-06-04 12:14:47, Petr Mladek wrote:
> this patchset does some clean up of the code for handling preferred
> consoles in the console registration code.
>
> Petr Mladek (11):
> printk: Handle pre-enabled consoles in the top-level
> register_console()
> printk: Rename struct console_cmdline to preferred_console
> printk: Rename preferred_console to preferred_dev_console
> printk: Separate code for adding/updating preferred console metadata
> printk: Cleanup _braille_(un)register_console() wrappers
> console/braille: Lock console->setup() call during the registration
> printk: Separate code for enabling console
> printk: Try to register each console as Braille first
> printk: Do not set Braille console as preferred_console
> printk: Modify try_enable_default_console() to return error/success
> printk: Try enable preferred consoles only when there are any

Gently ping.

I know that this patchset is not easy for review. Well, if anyone
could look at the first patch at least. It prevents a potential
out-of-bound access, ...

Best Regards,
Petr