From a96e0e1f334665687e6d137d871883d7e490780c Mon Sep 17 00:00:00 2001 From: Steve Jeong Date: Fri, 22 Sep 2023 11:54:59 +0900 Subject: [PATCH] fix: os_intfs: Raise the kernel version comparison from 5.4.0 to 5.10.0 Occured error "multiple definition of `aes_encrypt'; lib/crypto/aes.o:aes.c:(.text+0x350): first defined here" in kernel 5.4 Signed-off-by: Steve Jeong --- os_dep/linux/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index 26bb2f8..c1c22d2 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -27,7 +27,7 @@ MODULE_VERSION(DRIVERVERSION); * This declaration was created to resolve an error on Rockchip. * You can modify or add flags in the fs/Makefile. */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); #endif