From: Dan Carpenter Date: Sat, 9 Jun 2012 16:10:27 +0000 (+0300) Subject: ftrace: Clear bits properly in reset_iter_read() X-Git-Tag: v3.2.36~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da23000e780bb0b1f8cb03fb523bcba9b4a3374;p=pandora-kernel.git ftrace: Clear bits properly in reset_iter_read() commit 70f77b3f7ec010ff9624c1f2e39a81babc9e2429 upstream. There is a typo here where '&' is used instead of '|' and it turns the statement into a noop. The original code is equivalent to: iter->flags &= ~((1 << 2) & (1 << 4)); Link: http://lkml.kernel.org/r/20120609161027.GD6488@elgon.mountain Signed-off-by: Dan Carpenter Signed-off-by: Steven Rostedt Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed