tracing: Check return value of tracing_init_dentry()
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 10 Apr 2013 00:18:12 +0000 (09:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 02:51:54 +0000 (19:51 -0700)
commite1672f4e2c9fb1231a6242ca1596806f123da3c5
treeb36e7f377900905a74acc59a60b3b80035a328a6
parent226c8ea60cfc71732ff2212fae71077789718e51
tracing: Check return value of tracing_init_dentry()

commit ed6f1c996bfe4b6e520cf7a74b51cd6988d84420 upstream.

Check return value and bail out if it's NULL.

Link: http://lkml.kernel.org/r/1365553093-10180-2-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace.c
kernel/trace/trace_stack.c
kernel/trace/trace_stat.c