OSDN Git Service

ring_buffer: Change some static functions to bool
authorUros Bizjak <ubizjak@gmail.com>
Sun, 5 Mar 2023 15:55:31 +0000 (16:55 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 21 Mar 2023 17:59:42 +0000 (13:59 -0400)
commitbc92b9562abc831a65e505d2e675b51528d22d8b
tree3f46e1ca1bbe4f6ed2dba519f605a72d0f041cd7
parentb4b55dfd965057232abd317fbbfa31d8a2c16a49
ring_buffer: Change some static functions to bool

The return values of some functions are of boolean type. Change the
type of these function to bool and adjust their return values. Also
change type of some internal varibles to bool.

No functional change intended.

Link: https://lkml.kernel.org/r/20230305155532.5549-3-ubizjak@gmail.com
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c