ftrace: Use true and false for boolean values in ops_references_rec()
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 2 Aug 2018 01:00:56 +0000 (20:00 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 2 Aug 2018 01:15:31 +0000 (21:15 -0400)
commit44ec3ec01fb7d54d1a14c138cb43b90a0e934b89
tree6d0fac3b2ae70e3dd3db48ba0711c26d799624f8
parentd7224c0e128c7337c0b0f66ac20921fbbf4efc14
ftrace: Use true and false for boolean values in ops_references_rec()

Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Link: http://lkml.kernel.org/r/20180802010056.GA31012@embeddedor.com
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c