Re: [PATCH printk v2 2/7] console: Use BIT() macros for @flags values
From: Petr Mladek
Date: Thu Nov 24 2022 - 06:14:34 EST
On Thu 2022-11-24 00:19:55, John Ogness wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> Rather than manually calculating powers of 2, use the BIT() macros.
> Also take this opportunatity to cleanup and restructure the value
> comments into proper kerneldoc comments.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
This is really useful.
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr