lkml.org 
[lkml]   [2018]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] pstore: turn compression options back to 'bool'
Date
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@chromium.org>
Signed-off-by: liaoweixiong <liaoweixiong@allwinnertech.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
\
 
 \ /
  Last update: 2018-12-14 14:39    [W:0.044 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site