Re: [PATCH 4.13 44/85] tracing/samples: Fix creation and deletion of simple_thread_fn creation

From: Greg Kroah-Hartman
Date: Mon Oct 30 2017 - 17:17:47 EST


On Mon, Oct 30, 2017 at 03:57:11PM -0400, Steven Rostedt wrote:
> On Tue, 24 Oct 2017 15:07:18 +0200
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > 4.13-stable review patch. If anyone has any objections, please let me know.
>
> Just that it needs a fix.
>
> >
> > --- a/samples/trace_events/trace-events-sample.c
> > +++ b/samples/trace_events/trace-events-sample.c
> > @@ -78,29 +78,37 @@ static int simple_thread_fn(void *arg)
> > }
> >
> > static DEFINE_MUTEX(thread_mutex);
> > +static bool simple_thread_cnt;
>
> This needs to be int not bool, and Linus fixed it in his tree.
>
> commit a0cb2b5c390 ("Fix tracing sample code warning.")

I've already queued that up now, right?

thanks,

greg k-h