From 7a48f02640a07a89511d9fc2b78da181eb46a7af Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Thu, 28 Dec 2023 12:14:23 +0300 Subject: [PATCH] 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. --- scst/include/backport.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst/include/backport.h b/scst/include/backport.h index 56fbb96f0..c8940e849 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -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