Skip to content

Commit

Permalink
scst/include/backport.h: Unbreak the RHEL 8.9 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lnocturno committed Dec 27, 2023
1 parent 2d243a7 commit d3da391
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scst/include/backport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3da391

Please sign in to comment.