diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 25dd93e0af39..d6d238903fe0 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1530,7 +1530,7 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, struct work_struct *work = &dwork->work; WARN_ON_ONCE(!wq); -#ifndef CONFIG_CFI +#ifndef CONFIG_CFI_CLANG WARN_ON_ONCE(timer->function != delayed_work_timer_fn); #endif WARN_ON_ONCE(timer_pending(timer));