OSDN Git Service

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)
commit7375dca1647fa978310f2d706ddbff537f72110b
tree6007c74b658d6efa8e689820aa7a24f065b95a66
parent0c97bf863efce63d6ab7971dad811601e6171d2f
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