|
From: Gleb C. <lna...@ya...> - 2023-12-27 18:13:39
|
Commit: d3da391 GitHub URL: https://github.com/SCST-project/scst/commit/d3da391be8a9fc8c0fe2318850e7f1643e31679d Author: Gleb Chesnokov Date: 2023-12-27T21:13:12+03:00 Log Message: ----------- scst/include/backport.h: Unbreak the RHEL 8.9 build Modified Paths: -------------- scst/include/backport.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) =================================================================== diff --git a/scst/include/backport.h b/scst/include/backport.h index 7386fa3..56fbb96 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -1797,8 +1797,9 @@ enum { #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0) && \ - (!defined(RHEL_RELEASE_CODE) || \ - RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 3)) + (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 8 || \ + RHEL_MAJOR -0 == 8 && RHEL_MINOR -0 < 9 || \ + RHEL_MAJOR -0 == 9 && RHEL_MINOR -0 < 3) /* * See also commit 64fd2ba977b1 ("scsi: scsi_transport_fc: Add an additional * flag to fc_host_fpin_rcv()") # v6.3 |