]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - kernel/trace/trace_events.c
tracing: Check the return value of trace_get_user()
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 22 Sep 2009 05:52:20 +0000 (13:52 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 08:28:55 +0000 (10:28 +0200)
commit4ba7978e98a3ff92cebfb0f31a02c309e3ffa1fe
tree47d8b3b0927a7413fabcc634023b45350f344d89
parent3c235a337e205da0f614e456be72881483dcde6e
tracing: Check the return value of trace_get_user()

Return immediately if trace_get_user() returned failure.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4AB86614.7020803@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c
kernel/trace/trace_events.c