Messages in this thread | | | Date | Fri, 22 Jan 2021 17:16:53 -0500 | From | Steven Rostedt <> | 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@goodmis.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
| |