mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
Fix tracing sample code warning.
commita0cb2b5c39upstream. Commit6575257c60("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
86b0853f73
commit
f1e7f9dc11
@@ -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;
|
||||
|
||||
void foo_bar_reg(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user