All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,julia.lawall@inria.fr,jani.nikula@linux.intel.com,arnd@arndb.de,julianbraha@gmail.com,akpm@linux-foundation.org
Subject: [merged mm-nonmm-stable] lib-cleanup-fake-tristates-in-kconfig.patch removed from -mm tree
Date: Tue, 06 Oct 2026 19:04:18 -0700	[thread overview]
Message-ID: <20261007020419.0EC281F0089B@smtp.kernel.org> (raw)


The quilt patch titled
     Subject: lib: cleanup "fake" tristates in Kconfig
has been removed from the -mm tree.  Its filename was
     lib-cleanup-fake-tristates-in-kconfig.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Julian Braha <julianbraha@gmail.com>
Subject: lib: cleanup "fake" tristates in Kconfig
Date: Mon, 17 Aug 2026 22:03:11 +0100

These 7 DECOMPRESS_ options (e.g.  DECOMPRESS_GZIP) currently have the
tristate type, but can never be set to M.  Their only valid values are Y
and N, making them effectively booleans.

Let's make their types more accurate by changing them to 'bool'.  Note
that this is only a code cleanup, there is no functional change.

These bistates were found by kconfirm, a static analysis tool for Kconfig.

Link: https://lore.kernel.org/20260817210311.2142999-1-julianbraha@gmail.com
Signed-off-by: Julian Braha <julianbraha@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Julia Lawall <julia.lawall@inria.fr>
---

 lib/Kconfig |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

--- a/lib/Kconfig~lib-cleanup-fake-tristates-in-kconfig
+++ a/lib/Kconfig
@@ -219,29 +219,29 @@ source "lib/xz/Kconfig"
 #
 config DECOMPRESS_GZIP
 	select ZLIB_INFLATE
-	tristate
+	bool
 
 config DECOMPRESS_BZIP2
-	tristate
+	bool
 
 config DECOMPRESS_LZMA
-	tristate
+	bool
 
 config DECOMPRESS_XZ
 	select XZ_DEC
-	tristate
+	bool
 
 config DECOMPRESS_LZO
 	select LZO_DECOMPRESS
-	tristate
+	bool
 
 config DECOMPRESS_LZ4
 	select LZ4_DECOMPRESS
-	tristate
+	bool
 
 config DECOMPRESS_ZSTD
 	select ZSTD_DECOMPRESS
-	tristate
+	bool
 
 #
 # Generic allocator support is selected if needed
_

Patches currently in -mm which might be from julianbraha@gmail.com are



                 reply	other threads:[~2026-10-07  2:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261007020419.0EC281F0089B@smtp.kernel.org \
    --to=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=jani.nikula@linux.intel.com \
    --cc=julia.lawall@inria.fr \
    --cc=julianbraha@gmail.com \
    --cc=mm-commits@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.