From: "Arnd Bergmann" <arnd@arndb.de>
To: "Julian Braha" <julianbraha@gmail.com>
Cc: "Thomas Gleixner" <tglx@kernel.org>, "Rong Xu" <xur@google.com>,
"Kees Cook" <kees@kernel.org>,
"Peter Zijlstra" <peterz@infradead.org>,
"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
"Ruan Jinjie" <ruanjinjie@huawei.com>,
gourry@gourry.net, "Lukas Bulwahn" <lukas.bulwahn@redhat.com>,
"Ryan Roberts" <ryan.roberts@arm.com>,
"Jani Nikula" <jani.nikula@linux.intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arch/Kconfig: fix dead conditions by removing dead options
Date: Fri, 31 Jul 2026 12:41:39 +0200 [thread overview]
Message-ID: <880b651b-a032-48f8-96ef-03a37b3ad50c@app.fastmail.com> (raw)
In-Reply-To: <20260729210546.394392-1-julianbraha@gmail.com>
On Wed, Jul 29, 2026, at 23:05, Julian Braha wrote:
> These two 'int' options:
>
> ARCH_MMAP_RND_BITS_DEFAULT
> ARCH_MMAP_RND_COMPAT_BITS_DEFAULT
>
> are used directly as conditions for defaults. 'int' options should not be
> used as conditions, because they will always evaluate to false.
>
> Let's remove these options, because they are not used anywhere else.
>
> This dead code was found by kconfirm, a static analysis tool for Kconfig.
>
> Signed-off-by: Julian Braha <julianbraha@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2026-07-31 10:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-29 21:05 Julian Braha
2026-07-31 10:41 ` Arnd Bergmann [this message]
2026-08-21 10:13 ` Julian Braha
2026-08-03 3:50 ` 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=880b651b-a032-48f8-96ef-03a37b3ad50c@app.fastmail.com \
--to=arnd@arndb.de \
--cc=gourry@gourry.net \
--cc=jani.nikula@linux.intel.com \
--cc=julianbraha@gmail.com \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@redhat.com \
--cc=peterz@infradead.org \
--cc=ruanjinjie@huawei.com \
--cc=ryan.roberts@arm.com \
--cc=tglx@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=xur@google.com \
/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®