[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210122171653.5f53b743@gandalf.local.home>
Date: Fri, 22 Jan 2021 17:16:53 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 3/3] tracing: Remove NULL check from current in
tracing_generic_entry_update().
On Fri, 22 Jan 2021 17:12:11 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
> > I can't imagine when or why `current' would return a NULL pointer. This
> > check was added in commit
> > 72829bc3d63cd ("ftrace: move enums to ftrace.h and make helper function global")
> >
> > but it doesn't give me hint why it was needed.
> >
> > Assume `current' never returns a NULL pointer and remove the check.
>
> I'm guessing this is unrelated to the patch series, and I can take this now
> separately.
>
Unrelated, except that it changes the copy not the original :-p
OK, I can wait till v2.
-- Steve
Powered by blists - more mailing lists