diff --git a/qla2x00t-32gbit/qla_os.c b/qla2x00t-32gbit/qla_os.c index 58bb926fd..25bdb4866 100644 --- a/qla2x00t-32gbit/qla_os.c +++ b/qla2x00t-32gbit/qla_os.c @@ -5402,7 +5402,11 @@ void qla24xx_sched_upd_fcport(fc_port_t *fcport) qla2x00_set_fcport_disc_state(fcport, DSC_UPD_FCPORT); spin_unlock_irqrestore(&fcport->vha->work_lock, flags); +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 19, 0) queue_work(system_unbound_wq, &fcport->reg_work); +#else + queue_work(system_dfl_wq, &fcport->reg_work); +#endif } static