Skip to content

Commit 5e0bf36

Browse files
Bo Liu (OpenAnolis)hsiangkao
authored andcommitted
erofs: fix build error with CONFIG_EROFS_FS_ZIP_ACCEL=y
fix build err: ld.lld: error: undefined symbol: crypto_req_done referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archive vmlinux.a referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archive vmlinux.a ld.lld: error: undefined symbol: crypto_acomp_decompress referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archive vmlinux.a ld.lld: error: undefined symbol: crypto_alloc_acomp referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_enable_engine) in archive vmlinux.a Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: b4a29ef ("erofs: support DEFLATE decompression by using Intel QAT") Signed-off-by: Bo Liu (OpenAnolis) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Gao Xiang <[email protected]> Signed-off-by: Gao Xiang <[email protected]>
1 parent 7ca972a commit 5e0bf36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/erofs/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ config EROFS_FS_ZIP_ZSTD
147147
config EROFS_FS_ZIP_ACCEL
148148
bool "EROFS hardware decompression support"
149149
depends on EROFS_FS_ZIP
150+
select CRYPTO
151+
select CRYPTO_DEFLATE
150152
help
151153
Saying Y here includes hardware accelerator support for reading
152154
EROFS file systems containing compressed data. It gives better

0 commit comments

Comments
 (0)