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

Petr Mladek
2022-04-20T14:02:01Z

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@linutronix.de>

Macro magic ;-) Looks good to me.

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr