lkml.org 
[lkml]   [2018]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] pstore: set PSTORE_ZSTD_COMPRESS to bool
Date
Fix build error:

fs/pstore/platform.o: In function `zbufsize_zstd':
>> platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound'

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
fs/pstore/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 63cf4813559a..503086f7f7c1 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -51,7 +51,7 @@ config PSTORE_842_COMPRESS
This option enables 842 compression algorithm support.

config PSTORE_ZSTD_COMPRESS
- tristate "zstd compression"
+ bool "zstd compression"
depends on PSTORE
select CRYPTO_ZSTD
help
--
2.17.1
\
 
 \ /
  Last update: 2018-08-03 11:17    [W:0.041 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site