aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/erofs
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@aol.com>2018-11-10 00:07:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-09 08:34:39 -0800
commit7962e63a2f4140631ad10d475d96193a3bc8ec2f (patch)
tree12834baeab90a8264f1e7e1cd4e81f47e6038296 /drivers/staging/erofs
parentstaging: android: ion: Add per-heap counters (diff)
downloadlinux-dev-7962e63a2f4140631ad10d475d96193a3bc8ec2f.tar.xz
linux-dev-7962e63a2f4140631ad10d475d96193a3bc8ec2f.zip
staging: erofs: fix undefined LZ4_decompress_safe_partial()
It needs an explicit LZ4 library dependency if lz4 compression is enabled, found by kbuild randconfig. Reported-by: kbuild test robot <lkp@intel.com> Fixes: 05f9d4a0c8c4 ("staging: erofs: use the new LZ4_decompress_safe_partial()") Signed-off-by: Gao Xiang <hsiangkao@aol.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs')
-rw-r--r--drivers/staging/erofs/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/erofs/Kconfig b/drivers/staging/erofs/Kconfig
index c8521d71039b..d04b798a8efb 100644
--- a/drivers/staging/erofs/Kconfig
+++ b/drivers/staging/erofs/Kconfig
@@ -90,8 +90,9 @@ config EROFS_FS_IO_MAX_RETRIES
config EROFS_FS_ZIP
bool "EROFS Data Compresssion Support"
depends on EROFS_FS
+ select LZ4_DECOMPRESS
help
- Currently we support VLE Compression only.
+ Currently we support LZ4 VLE Compression only.
Play at your own risk.
If you don't want to use compression feature, say N.