]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing: fix return value to registering events
authorSteven Rostedt <srostedt@redhat.com>
Tue, 3 Mar 2009 14:43:50 +0000 (09:43 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 3 Mar 2009 14:43:50 +0000 (09:43 -0500)
commit633ddaa7f471e9db181f993c1458d6f4bae321ca
tree2bf2e419c004cdbce77b1ba3b4cbd5c28cf45bd7
parentc79a61f55773d2519fd0525bf58385f7d20752d3
tracing: fix return value to registering events

The registering of events had the return value check backwards.
A zero returned is success, the check had it as a failure.

This patch also fixes a missing "\n" in the warning that the check
failed.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_events_stage_3.h