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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.")

-- Steve





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]