On Fri, 26 Jul 2019 20:30:49 +0200 Thomas Gleixner <[email protected]> wrote:
> --- a/kernel/time/hrtimer.c > +++ b/kernel/time/hrtimer.c > @@ -1639,10 +1639,10 @@ static enum hrtimer_restart hrtimer_wake > return HRTIMER_NORESTART; > } > Not related to the change of this patch, but I'm surprised that a global function like this doesn't contain any kerneldoc information. Reviewed-by: Steven Rostedt (VMware) <[email protected]> -- Steve > -void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, struct task_struct > *task) > +void hrtimer_init_sleeper(struct hrtimer_sleeper *sl) > { > sl->timer.function = hrtimer_wakeup; > - sl->task = task; > + sl->task = current; > } > EXPORT_SYMBOL_GPL(hrtimer_init_sleeper); >

