From: Nicolas Schier <nsc@kernel.org>
To: Yuntao Wang <yuntao.wang@linux.dev>
Cc: Nathan Chancellor <nathan@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] init: simplify initramfs.o build rule
Date: Thu, 1 Oct 2026 17:44:43 +0200 [thread overview]
Message-ID: <ar5_63dzd7czEuAk@levanger> (raw)
In-Reply-To: <20260930015748.311366-1-yuntao.wang@linux.dev>
On Wed, Sep 30, 2026 at 09:57:48AM +0800, Yuntao Wang wrote:
> CONFIG_BLK_DEV_INITRD is known to be enabled in the else branch,
> so there is no need to use obj-$(CONFIG_BLK_DEV_INITRD). Use obj-y
> directly to make the build rule clearer.
>
> Also, reorder the condition to make the code easier to follow.
>
> No functional change.
>
> Signed-off-by: Yuntao Wang <yuntao.wang@linux.dev>
> ---
> init/Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks!
Reviewed-by: Nicolas Schier <nsc@kernel.org>
--
Nicolas
prev parent reply other threads:[~2026-10-01 15:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 1:57 Yuntao Wang
2026-10-01 15:44 ` Nicolas Schier [this message]
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=ar5_63dzd7czEuAk@levanger \
--to=nsc@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=yuntao.wang@linux.dev \
/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®