lkml.org 
[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4.13 44/85] tracing/samples: Fix creation and deletion of simple_thread_fn creation
    On Tue, 24 Oct 2017 15:07:18 +0200
    Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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.")

    -- Steve


    \
     
     \ /
      Last update: 2017-10-30 20:58    [W:4.620 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site