Re: [PATCH] pstore: set PSTORE_ZSTD_COMPRESS to bool
From: Kees Cook
Date: Fri Aug 03 2018 - 22:05:45 EST
On Fri, Aug 3, 2018 at 2:16 AM, Geliang Tang <geliangtang@xxxxxxxxx> wrote:
> 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@xxxxxxxxx>
Thanks! I'll squash this into the original commit.
-Kees
> ---
> 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
>
--
Kees Cook
Pixel Security