scst/include/backport.h: Port to the latest UEK 7 kernel

This patch fixes the build against UEK kernel 5.15.0-201.135.6.el9uek.
This commit is contained in:
Gleb Chesnokov
2023-12-28 12:14:23 +03:00
parent 04ea811e8d
commit 7a48f02640

View File

@@ -1799,7 +1799,8 @@ enum {
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0) && \
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 8 || \
RHEL_MAJOR -0 == 8 && RHEL_MINOR -0 < 9 || \
RHEL_MAJOR -0 == 9 && RHEL_MINOR -0 < 3)
RHEL_MAJOR -0 == 9 && RHEL_MINOR -0 < 3) && \
!defined(UEK_KABI_RENAME)
/*
* See also commit 64fd2ba977b1 ("scsi: scsi_transport_fc: Add an additional
* flag to fc_host_fpin_rcv()") # v6.3