[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190726155747.72dbe27d@gandalf.local.home>
Date: Fri, 26 Jul 2019 15:57:47 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
Sebastian Siewior <bigeasy@...utronix.de>,
Anna-Maria Gleixner <anna-maria@...utronix.de>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...hat.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Juergen Gross <jgross@...e.com>
Subject: Re: [patch 01/12] hrtimer: Remove task argument from
hrtimer_init_sleeper()
On Fri, 26 Jul 2019 20:30:49 +0200
Thomas Gleixner <tglx@...utronix.de> 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) <rostedt@...dmis.org>
-- 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);
>
Powered by blists - more mailing lists