Re: [PATCH -next v2 RESEND] printk: Use the BITS_PER_LONG macro

From: John Ogness
Date: Tue Sep 03 2024 - 03:50:15 EST


On 2024-09-03, Jinjie Ruan <ruanjinjie@xxxxxxxxxx> wrote:
> sizeof(unsigned long) * 8 is the number of bits in an unsigned long
> variable, replace it with BITS_PER_LONG macro to make it simpler.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
> ---
> v2:
> - Add include.

Thanks.

Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>