[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ztgwv2NMZw03kLjw@pathway.suse.cz>
Date: Wed, 4 Sep 2024 12:04:47 +0200
From: Petr Mladek <pmladek@...e.com>
To: Jinjie Ruan <ruanjinjie@...wei.com>
Cc: rostedt@...dmis.org, john.ogness@...utronix.de,
senozhatsky@...omium.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v2 RESEND] printk: Use the BITS_PER_LONG macro
On Tue 2024-09-03 11:53:58, Jinjie Ruan 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>
Reviewed-by: Petr Mladek <pmladek@...e.com>
JFYI, the patch has been committed into printk/linux.git,
branch rework/write_atomic. It is intended for 6.12 merge window.
I have chosen this branch because it modified the list of included
files in kernel/printk/printk_ringbuffer.h as well. It allowed to apply
the patch without conflicts.
Best Regards,
Petr
Powered by blists - more mailing lists