Re: [PATCH printk v7 02/35] printk: nbcon: Consolidate alloc() and init()
From: Petr Mladek
Date: Mon Aug 05 2024 - 10:39:43 EST
On Sun 2024-08-04 02:57:05, John Ogness wrote:
> Rather than splitting the nbcon allocation and initialization into
> two pieces, perform all initialization in nbcon_alloc(). Later,
> the initial sequence is calculated and can be explicitly set using
> nbcon_seq_force(). This removes the need for the strong rules of
> nbcon_init() that even included a BUG_ON().
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr