mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-30 02:10:18 +00:00
qla2x00t-32gbit: Port to Linux kernel v6.8
Support for the following tracing layer changes in the Linux kernel v6.8:
- d23569979ca1 ("tracing: Allow creating instances with specified system
events")
This commit is contained in:
@@ -2939,7 +2939,11 @@ static void qla2x00_iocb_work_fn(struct work_struct *work)
|
||||
static void
|
||||
qla_trace_init(void)
|
||||
{
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 8, 0)
|
||||
qla_trc_array = trace_array_get_by_name("qla2xxx");
|
||||
#else
|
||||
qla_trc_array = trace_array_get_by_name("qla2xxx", NULL);
|
||||
#endif
|
||||
if (!qla_trc_array) {
|
||||
ql_log(ql_log_fatal, NULL, 0x0001,
|
||||
"Unable to create qla2xxx trace instance, instance logging will be disabled.\n");
|
||||
|
||||
Reference in New Issue
Block a user