Skip to contentSkip to conversation

lib-cleanup-fake-tristates-in-kconfig.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Oct 7

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore 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 <[email protected]>
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.

---

 lib/Kconfig |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
lib/Kconfig renamed from lib/Kconfig~lib-cleanup-fake-tristates-in-kconfig +7 -7
@@ -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 [email protected] are