Fix tracing sample code warning.

Commit 6575257c60 ("tracing/samples: Fix creation and deletion of
simple_thread_fn creation") introduced a new warning due to using a
boolean as a counter.

Just make it "int".

Fixes: 6575257c60 ("tracing/samples: Fix creation and deletion of simple_thread_fn creation")
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2017-10-27 20:35:31 -07:00
parent fe23429e6b
commit a0cb2b5c39
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ static int simple_thread_fn(void *arg)
}
static DEFINE_MUTEX(thread_mutex);
static bool simple_thread_cnt;
static int simple_thread_cnt;
int foo_bar_reg(void)
{