Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gao Xiang and committed by
Greg Kroah-Hartman
7962e63a 4073536c

+2 -1
+2 -1
drivers/staging/erofs/Kconfig
··· 90 90 config EROFS_FS_ZIP 91 91 bool "EROFS Data Compresssion Support" 92 92 depends on EROFS_FS 93 + select LZ4_DECOMPRESS 93 94 help 94 - Currently we support VLE Compression only. 95 + Currently we support LZ4 VLE Compression only. 95 96 Play at your own risk. 96 97 97 98 If you don't want to use compression feature, say N.