Re: [PATCH] staging: erofs: select LZ4_DECOMPRESS to fix build error

From: Gao Xiang
Date: Fri Nov 09 2018 - 13:07:07 EST


Hi Randy,

Thanks for taking time, I have sent a patch to Greg fixing this issue. :)
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?h=staging-testing&id=7962e63a2f4140631ad10d475d96193a3bc8ec2f

Thanks,
Gao Xiang

On 2018/11/10 1:58, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> EROFS Data Compression support uses LZ4 decompression, so it
> should select LZ4_DECOMPRESS to prevent this build error:
>
> drivers/staging/erofs/unzip_vle_lz4.o: In function `z_erofs_unzip_lz4':
> drivers/staging/erofs/unzip_vle_lz4.c:18: undefined reference to `LZ4_decompress_safe_partial'
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>