tracing: Fix minor bugs for __unregister_ftrace_function_probe
authorAtsushi Tsuji <a-tsuji@bk.jp.nec.com>
Tue, 15 Sep 2009 10:06:30 +0000 (19:06 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 16 Sep 2009 13:08:54 +0000 (09:08 -0400)
commitb36461da2a0389149d7f88f3cbc05a30d1db9faa
treec9a4a6414185474e106d538705089a3fa3506a45
parentfe832a3a48737b24f95fab202b1c67fb588b071d
tracing: Fix minor bugs for __unregister_ftrace_function_probe

Fix the condition of strcmp for "*".
Also fix NULL pointer dereference when glob is NULL.

Signed-off-by: Atsushi Tsuji <a-tsuji@bk.jp.nec.com>
LKML-Reference: <4AAF6726.5090905@bk.jp.nec.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c