]> git.lttng.org Git - lttng-modules.git/commitdiff
Fix: Missing scsi/scsi_request.h with SLE15 SP5
authorKienan Stewart <kstewart@efficios.com>
Fri, 24 Jan 2025 16:47:23 +0000 (16:47 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 Jan 2025 18:58:31 +0000 (13:58 -0500)
See SUSE commit:

    commit 65b6ebae4e3566ad74e016acad23007c5c01a062
    Author: Hannes Reinecke <hare@suse.de>
    Date:   Mon Dec 12 13:37:58 2022 +0100

        - scsi: core: Remove <scsi/scsi_request.h> (jsc#PED-1559).
        - Refresh patches.suse/cdrom-add-poll_event_interruptible.patch.

         suse-commit: 5a0411a622d3e14b4e89f106c5ae05e9f97fcfb6

Change-Id: Iad52c94ba17660fff8cc85569a18ee859e2b085a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/block.h

index 42b871ee5a2bae6f512469941db7b95abd12374a..47c51aef9cff53ca59eb9388568708ff0ec54e83 100644 (file)
@@ -14,7 +14,8 @@
 #include <linux/trace_seq.h>
 #include <lttng/kernel-version.h>
 
-#if LTTNG_KERNEL_RANGE(4,11,0, 5,18,0)
+#if (LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) && LTTNG_SLE_VERSION_CODE == 0) || \
+       LTTNG_SLE_KERNEL_RANGE(4,11,0,0,0,0, 5,14,21,150500,10,0)
 #include <scsi/scsi_request.h>
 #endif /* LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) */
 
This page took 0.030981 seconds and 4 git commands to generate.