From nobody Mon Oct 6 21:02:51 2025 Received: from unicom145.biz-email.net (unicom145.biz-email.net [210.51.26.145]) (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 B08D04689 for ; Thu, 17 Jul 2025 05:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.51.26.145 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752730658; cv=none; b=hVyByzeN+ZY3Lz+On9zDQ84OV3uI2OuBy2rAg2nbwSwKzEiBTpz2ZTeJdmBOpdxgk0YQ0xgdKfZ75R4abhGufsp51oDbLbnktHGnip3Y60M53YI6RhLtLRK/Iv4ZrrAg6It0TLJaSLmaqBGRHsPilJjLE0cfmrpQtefv81uVB88= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752730658; c=relaxed/simple; bh=Ae06XuF0alQhLm6yfozbYB2lJ8OzHR9NCiMojrUoy0o=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=BYN0xUIDE17OaK+fyfbfOn1/jgD1RXNtHOs9FZfgVpz4Rh2/WSe1rp/OwyYQ94ha+x0F6fYmNtnMSCuQ39xAGtwi13T7rNkgt9CPddGGXNNrPywKE3hB1JrO2eci1HzeKDC2N4dxxbQSmcUYnH5palltN4Lg30qoHwxI/jT/rh4= 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=210.51.26.145 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 unicom145.biz-email.net ((D)) with ASMTP (SSL) id 202507171337302780; Thu, 17 Jul 2025 13:37:30 +0800 Received: from localhost.localdomain (10.94.9.142) 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; Thu, 17 Jul 2025 13:37:29 +0800 From: Bo Liu To: , CC: , , Bo Liu Subject: [PATCH v3] erofs: fix build error with CONFIG_EROFS_FS_ZIP_ACCEL=y Date: Thu, 17 Jul 2025 01:37:24 -0400 Message-ID: <20250717053724.65995-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: Jtjnmail201615.home.langchao.com (10.100.2.15) To jtjnmail201622.home.langchao.com (10.100.2.22) tUid: 2025717133730dbeb9e6738e4a486ccb1d56d950e6f6f 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 Reviewed-by: Gao Xiang --- fs/erofs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index 6beeb7063871..4dfec0834733 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -147,6 +147,7 @@ config EROFS_FS_ZIP_ZSTD config EROFS_FS_ZIP_ACCEL bool "EROFS hardware decompression support" depends on EROFS_FS_ZIP + select CRYPTO_ACOMP2 help Saying Y here includes hardware accelerator support for reading EROFS file systems containing compressed data. It gives better --=20 2.31.1