Smatch complains that: kernel/rcu/tree_plugin.h:1838 wake_nocb_leader_defer() warn: mod_timer() takes an absolute time not an offset. which is true. Fixes: ebf7068a4396 ("rcu: Use timer as backstop for NOCB deferred wakeups") Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 34dbd0aad732..74492f20c252 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -1835,7 +1835,7 @@ static void wake_nocb_leader_defer(struct rcu_data *rdp, int waketype, trace_rcu_nocb_wake(rdp->rsp->name, rdp->cpu, reason); raw_spin_unlock_irqrestore(&rdp->nocb_lock, flags); if (needtimer) - mod_timer(&rdp->nocb_timer, 1); + mod_timer(&rdp->nocb_timer, jiffies + 1); } /* -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html