[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1544794711-30015-1-git-send-email-liaoweixiong@allwinnertech.com>
Date: Fri, 14 Dec 2018 21:38:31 +0800
From: liaoweixiong <liaoweixiong@...winnertech.com>
To: Kees Cook <keescook@...omium.org>,
Anton Vorontsov <anton@...msg.org>,
Colin Cross <ccross@...roid.com>,
Tony Luck <tony.luck@...el.com>
Cc: linux-kernel@...r.kernel.org,
liaoweixiong <liaoweixiong@...winnertech.com>
Subject: [PATCH v2] pstore: turn compression options back to 'bool'
On commit 58eb5b670747 ("pstore: fix crypto dependencies"),
dependency bug was fixed by selecting the crypto core rather than
turned compression sub-options to 'tristate'.
In addition, these options are used to enable/disable compression. They
are not modules, and mean nothing when set to 'M'.
So, this patch is going to turn them back to 'bool'.
Fixes: 58eb5b670747 ("pstore: fix crypto dependencies")
Acked-by: Kees Cook <keescook@...omium.org>
Signed-off-by: liaoweixiong <liaoweixiong@...winnertech.com>
---
fs/pstore/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 0d19d19..8b3ba27 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -14,7 +14,7 @@ config PSTORE
say N.
config PSTORE_DEFLATE_COMPRESS
- tristate "DEFLATE (ZLIB) compression"
+ bool "DEFLATE (ZLIB) compression"
default y
depends on PSTORE
select CRYPTO_DEFLATE
@@ -23,21 +23,21 @@ config PSTORE_DEFLATE_COMPRESS
algorithm support.
config PSTORE_LZO_COMPRESS
- tristate "LZO compression"
+ bool "LZO compression"
depends on PSTORE
select CRYPTO_LZO
help
This option enables LZO compression algorithm support.
config PSTORE_LZ4_COMPRESS
- tristate "LZ4 compression"
+ bool "LZ4 compression"
depends on PSTORE
select CRYPTO_LZ4
help
This option enables LZ4 compression algorithm support.
config PSTORE_LZ4HC_COMPRESS
- tristate "LZ4HC compression"
+ bool "LZ4HC compression"
depends on PSTORE
select CRYPTO_LZ4HC
help
--
1.9.1
Powered by blists - more mailing lists