Re: [PATCH printk v3 08/15] printk: add con_printk() macro for console details

From: Petr Mladek
Date: Wed Apr 20 2022 - 10:02:01 EST


On Wed 2022-04-20 01:52:30, John Ogness wrote:
> It is useful to generate log messages that include details about
> the related console. Rather than duplicate the code to assemble
> the details, put that code into a macro con_printk().
>
> Once console printers become threaded, this macro will find more
> users.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Macro magic ;-) Looks good to me.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr