From 89309578f9a1a77a269018035c98ea583fe10909 Mon Sep 17 00:00:00 2001 From: Steve Jeong Date: Thu, 3 Aug 2023 12:00:18 +0900 Subject: [PATCH] squash! fix: os_dep/osdep_service.c: Add a checking kernel version (>=5.4) for MODULE_IMPORT_NS Signed-off-by: Steve Jeong --- os_dep/osdep_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index 96024a4..040f2e2 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -52,7 +52,7 @@ inline int RTW_STATUS_CODE(int error_code) } #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); #endif