From: Petr Mladek <pmladek@suse.com>
To: Jinjie Ruan <ruanjinjie@huawei.com>
Cc: rostedt@goodmis.org, john.ogness@linutronix.de,
senozhatsky@chromium.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next v2 RESEND] printk: Use the BITS_PER_LONG macro
Date: Wed, 4 Sep 2024 12:04:47 +0200 [thread overview]
Message-ID: <Ztgwv2NMZw03kLjw@pathway.suse.cz> (raw)
In-Reply-To: <20240903035358.308482-1-ruanjinjie@huawei.com>
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@huawei.com>
Reviewed-by: Petr Mladek <pmladek@suse.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
next prev parent reply other threads:[~2024-09-04 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 3:53 Jinjie Ruan
2024-09-03 7:49 ` John Ogness
2024-09-04 10:04 ` Petr Mladek [this message]
2024-09-09 17:27 ` [tip: sched/rt] " tip-bot2 for Jinjie Ruan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Ztgwv2NMZw03kLjw@pathway.suse.cz \
--to=pmladek@suse.com \
--cc=john.ogness@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=ruanjinjie@huawei.com \
--cc=senozhatsky@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®