Skip to content

Commit

Permalink
qla2x00t-32gbit: Port to Linux kernel v6.8
Browse files Browse the repository at this point in the history
Support for the following tracing layer changes in the Linux kernel v6.8:

- d23569979ca1 ("tracing: Allow creating instances with specified system
  events")
  • Loading branch information
lnocturno committed Feb 16, 2024
1 parent 4366716 commit 304b65a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qla2x00t-32gbit/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 304b65a

Please sign in to comment.