]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: binary and not logical for continue test
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 3 Sep 2008 21:42:50 +0000 (17:42 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:39 +0000 (10:36 +0200)
commitaf2b73dd828c19994955bbd2aa92416616d7a700
tree0686a5ceeeb9f6ecedf5d063d05563ac32359554
parentb959920cf02952cb56df930cc5a8b5894dde1d2d
ftrace: binary and not logical for continue test

Peter Zijlstra provided me with a nice brown paper bag while letting me know
that I was doing a logical AND and not a binary one, making a condition
true more often than it should be.

Luckily, a false true is handled by the calling function and no harm is
done. But this needs to be fixed regardless.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c