[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ed61jhwo.fsf@jogness.linutronix.de>
Date: Tue, 03 Sep 2024 09:55:43 +0206
From: John Ogness <john.ogness@...utronix.de>
To: Jinjie Ruan <ruanjinjie@...wei.com>, pmladek@...e.com,
rostedt@...dmis.org, senozhatsky@...omium.org,
linux-kernel@...r.kernel.org
Cc: ruanjinjie@...wei.com
Subject: Re: [PATCH -next v2 RESEND] printk: Use the BITS_PER_LONG macro
On 2024-09-03, Jinjie Ruan <ruanjinjie@...wei.com> 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@...wei.com>
> ---
> v2:
> - Add include.
Thanks.
Reviewed-by: John Ogness <john.ogness@...utronix.de>
Powered by blists - more mailing lists