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
This commit is contained in:
Bart Van Assche
2021-11-24 04:35:10 +00:00
parent 0d025a2e1e
commit b5fb6add87
2 changed files with 2 additions and 4 deletions

View File

@@ -19,8 +19,7 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <scsi/libfc.h>
#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 <scsi/fc_encode.h>
#else
#include <scsi/fc/fc_ms.h>

View File

@@ -24,8 +24,7 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <scsi/libfc.h>
#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 <scsi/fc_encode.h>
#else
#include <scsi/fc/fc_ms.h>