From: Frederic Weisbecker Date: Sun, 16 Nov 2008 04:53:19 +0000 (+0100) Subject: tracing/ftrace: fix unexpected -EINVAL when longest tracer name is set X-Git-Tag: v2.6.29-rc1~586^2~56^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e7a65aabdb696cf05a56cfd495c49a11fd4cde;p=pandora-kernel.git tracing/ftrace: fix unexpected -EINVAL when longest tracer name is set Impact: fix confusing write() -EINVAL when changing the tracer The following commit d9e540762f5cdd89f24e518ad1fd31142d0b9726 remade alive the bug which made the set of a new tracer returning -EINVAL if this is the longest name of tracer. This patch corrects it. Signed-off-by: Frederic Weisbecker Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed