tracing: Fix sparse RCU warning
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 26 Oct 2015 07:45:22 +0000 (03:45 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 26 Oct 2015 07:51:32 +0000 (03:51 -0400)
commitfb662288284e8f2ec26f13d50a6b0d5781771648
treec048e8da54d35d7abafe5f661a37a2a59e9f0a3c
parent8ca532ad2b050da0d0db3544d9ab8b40675e4ca1
tracing: Fix sparse RCU warning

p_start() and p_stop() are seq_file functions that match. Teach sparse to
know that rcu_read_lock_sched() that is taken by p_start() is released by
p_stop.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c