lkml.org 
[lkml]   [2021]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2021-01-22 23:20    [W:0.211 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site