From nobody Mon Oct 6 19:09:53 2025 Received: from mail-vip.corpemail.net (mail-vip.corpemail.net [162.243.126.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 195BB12B94 for ; Fri, 18 Jul 2025 04:08:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.243.126.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752811693; cv=none; b=YFzVMk7SFzgEjYj6GH/sgnq8T4CZf39h7Urk0iYAAwax1cFuQaf+nrRQoOq8ERJroSfVAx2aSoJBXdHpHUpLPv4v4si7uiwLHRqApYXX6J6aS+ogpfmemgykpnAgFtJ7sOOYgv3JJ3VKo8dBgp62tWAoWfsmbg6/zVOZElaBBt0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752811693; c=relaxed/simple; bh=5ocPqVVmNAjlt1qfDrxniMvfXeB/L0qwoadv+AhZkhQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=I5KBxGYIEUqDGAnLdUpIhJVhWkzRgNyE2GIESdkclst2eVCcgsBJJNPvJSJ0X2S3ZF+8HSSja5qlb5cwc5QkO3cmZdPy5eZS2DhadWtN+z/WltwdBIPfxm5OKQsjczy7DSxyeauWlFuvUKXu73ZKzTy++DsB00G9+70vHvTzq+g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inspur.com; spf=pass smtp.mailfrom=inspur.com; arc=none smtp.client-ip=162.243.126.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inspur.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inspur.com Received: from jtjnmail201622.home.langchao.com by unicom146.biz-email.net ((D)) with ASMTP (SSL) id 202507181130422850; Fri, 18 Jul 2025 11:30:42 +0800 Received: from localhost.localdomain (10.94.18.81) by jtjnmail201622.home.langchao.com (10.100.2.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Fri, 18 Jul 2025 11:30:43 +0800 From: Bo Liu To: , CC: , , Bo Liu Subject: [PATCH v4] erofs: fix build error with CONFIG_EROFS_FS_ZIP_ACCEL=y Date: Thu, 17 Jul 2025 23:30:39 -0400 Message-ID: <20250718033039.3609-1-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: Jtjnmail201617.home.langchao.com (10.100.2.17) To jtjnmail201622.home.langchao.com (10.100.2.22) tUid: 20257181130422c6370c10a21dd3e58b20e7c397c0a3b X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 archiv= e vmlinux.a referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archiv= e 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 archiv= e 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 arc= hive vmlinux.a Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202507161032.QholMPtn-lkp@int= el.com/ Fixes: b4a29efc5146 ("erofs: support DEFLATE decompression by using Intel Q= AT") Signed-off-by: Bo Liu change since v3: - change Kconfg to select CRYPTO and CRYPTO_DEFLATE Reviewed-by: Gao Xiang --- fs/erofs/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index 6beeb7063871..7b26efc271ee 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -147,6 +147,8 @@ config EROFS_FS_ZIP_ZSTD config EROFS_FS_ZIP_ACCEL bool "EROFS hardware decompression support" depends on EROFS_FS_ZIP + select CRYPTO + select CRYPTO_DEFLATE help Saying Y here includes hardware accelerator support for reading EROFS file systems containing compressed data. It gives better --=20 2.31.1