From cce5a153f750fea701fe49103ad2699603ab904a Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Tue, 31 Mar 2026 20:28:35 +0800 Subject: [PATCH] kernel: modules: fix kmod-crypto-misc build error cryptd has been decoupled from crypto-misc in the 6.18 kernel. Fix: ERROR: module '/home/runner/work/Actions_/Actions_/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/linux-6.18.20/crypto/cryptd.ko' is missing. make[3]: *** [modules/crypto.mk:873: /home/runner/work/Actions_/Actions_/openwrt/bin/targets/x86/generic/packages/kmod-crypto-misc-6.18.20-r1.apk] Error 1 Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/22730 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 45d39de357c..3fb94ea1398 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -836,9 +836,9 @@ ifndef CONFIG_TARGET_x86_64 FILES+= \ $(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko \ $(LINUX_DIR)/arch/x86/crypto/serpent-sse2-i586.ko \ - $(LINUX_DIR)/crypto/cryptd.ko \ - $(LINUX_DIR)/crypto/crypto_simd.ko - AUTOLOAD+= $(call AutoLoad,10,cryptd \ + $(LINUX_DIR)/crypto/cryptd.ko@lt6.18 \ + $(LINUX_DIR)/crypto/crypto_simd.ko@lt6.18 + AUTOLOAD+= $(call AutoLoad,10,LINUX_6_12:cryptd \ serpent-sse2-i586 twofish-i586 blowfish_generic) endef endif