scst/include/backport.h: Unbreak the RHEL 8.9 build

This commit is contained in:
Gleb Chesnokov
2023-12-27 20:49:36 +03:00
parent 2d243a71e7
commit d3da391be8
+3 -2
View File
@@ -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