Re: [PATCH] pstore: fix crypto dependencies of 842/zstd compression

From: ååé
Date: Thu Dec 13 2018 - 20:47:33 EST




å 2018å12æ13æ 02:43, Kees Cook åé:
On Wed, Dec 12, 2018 at 12:24 AM liaoweixiong
<liaoweixiong@xxxxxxxxxxxxxxxxx> wrote:

Reference to commit 58eb5b670747 ("pstore: fix crypto dependencies"),
which fixed crypto dependencies of deflate, lzo, lz4 and lz4hc
compression, but omitted 842 and newer compression zstd from
commit 1021bcf44d0e ("pstore: add zstd compression support")

Signed-off-by: liaoweixiong <liaoweixiong@xxxxxxxxxxxxxxxxx>

Were you seeing build or config failures without this patch?

testsdfsdf
-Kees

---
fs/pstore/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 0d19d19..7068f45 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -44,14 +44,14 @@ config PSTORE_LZ4HC_COMPRESS
This option enables LZ4HC (high compression) mode algorithm.

config PSTORE_842_COMPRESS
- bool "842 compression"
+ tristate "842 compression"
depends on PSTORE
select CRYPTO_842
help
This option enables 842 compression algorithm support.

config PSTORE_ZSTD_COMPRESS
- bool "zstd compression"
+ tristate "zstd compression"
depends on PSTORE
select CRYPTO_ZSTD
help
--
1.9.1