mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-19 14:34:18 +00:00
scst: Add RHEL 8.10 and 9.6 kernel support
Add compatibility for RHEL 8.10 and RHEL 9.6 kernels. Update nightly build and regression test configs, and adjust version checks in the codebase to handle changes in these new RHEL kernel releases.
This commit is contained in:
@@ -1032,7 +1032,9 @@ out:
|
||||
|
||||
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) */
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0) && \
|
||||
(!defined(RHEL_RELEASE_CODE) || \
|
||||
RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 6))
|
||||
static int scst_local_slave_alloc(struct scsi_device *sdev)
|
||||
{
|
||||
struct request_queue *q = sdev->request_queue;
|
||||
@@ -1378,7 +1380,9 @@ static const struct scsi_host_template scst_lcl_ini_driver_template = {
|
||||
.name = SCST_LOCAL_NAME,
|
||||
.queuecommand = scst_local_queuecommand,
|
||||
.change_queue_depth = scst_local_change_queue_depth,
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0) && \
|
||||
(!defined(RHEL_RELEASE_CODE) || \
|
||||
RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 6))
|
||||
.slave_alloc = scst_local_slave_alloc,
|
||||
#else
|
||||
.dma_alignment = (4096 - 1),
|
||||
|
||||
Reference in New Issue
Block a user