]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Make enable and update parameters bool when applicable
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 20 May 2019 13:26:24 +0000 (09:26 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 26 May 2019 03:04:42 +0000 (23:04 -0400)
commit740755d4ab02fb5e02d5acd765e9ea7e5214feee
tree6007c74b658d6efa8e689820aa7a24f065b95a66
parentdc6a309a20b651fe4851b7f8b3b77b959bb8f0c2
ftrace: Make enable and update parameters bool when applicable

The code modification functions have "enable" and "update" variables that
are sometimes "int" but used as "bool". Remove the ambiguity and make them
"bool" when they are only used for true or false values.

Link: http://lkml.kernel.org/r/e1429923d9eda92a3cf5ee9e33c7eacce539781d.1558115654.git.naveen.n.rao@linux.vnet.ibm.com
Reported-by: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c