From b5fb6add8767c8cd5d0ba3940b66eb142d64272a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 24 Nov 2021 04:35:10 +0000 Subject: [PATCH] fcst: Port to the latest UEK 7 kernel Apparently the UEK 8 FC patches have been ported to UEK 7. Make fcst build against the latest UEK7 and UEK 8 kernels. This patch breaks compatibility with older UEK 7 5.4.17 kernels. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9603 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 3 +-- fcst/ft_io.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index 2955165e4..9b9eac7f6 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -19,8 +19,7 @@ #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) && \ - (!defined(UEK_RELEASE) || UEK_RELEASE -0 < 8) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) && !defined(UEK_RELEASE) #include #else #include diff --git a/fcst/ft_io.c b/fcst/ft_io.c index cabce0937..9e202517d 100644 --- a/fcst/ft_io.c +++ b/fcst/ft_io.c @@ -24,8 +24,7 @@ #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) && \ - (!defined(UEK_RELEASE) || UEK_RELEASE -0 < 8) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) && !defined(UEK_RELEASE) #include #else #include