From: Gleb C. <lna...@ya...> - 2023-10-09 06:46:55
|
Commit: 60c2613 GitHub URL: https://github.com/SCST-project/scst/commit/60c26136bf9331ebd80828fc9f97b2a0b8acbdb2 Author: Gleb Chesnokov Date: 2023-10-09T09:46:21+03:00 Log Message: ----------- scst/include/backport.h: Unbreak the RHEL 9.3 build Fixes: https://github.com/SCST-project/scst/issues/167 Modified Paths: -------------- scst/include/backport.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) =================================================================== diff --git a/scst/include/backport.h b/scst/include/backport.h index a57cf53..9691bdd 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -1760,7 +1760,9 @@ enum { #define wwn_to_u64(wwn) get_unaligned_be64(wwn) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0) && \ + (!defined(RHEL_RELEASE_CODE) || \ + RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 3)) /* * See also commit 64fd2ba977b1 ("scsi: scsi_transport_fc: Add an additional * flag to fc_host_fpin_rcv()") # v6.3 |