From: Steven Rostedt Date: Fri, 8 May 2009 20:06:47 +0000 (-0400) Subject: tracing: initialize return value for __ftrace_set_clr_event X-Git-Tag: v2.6.31-rc1~401^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f93943d1916d1a3faa3f10f4a06994347ac990;p=pandora-kernel.git tracing: initialize return value for __ftrace_set_clr_event Commit 8f31bfe538ebafac187d2d4465a92e1d9ee6d8c2 tracing/events: clean up for ftrace_set_clr_event() Moved out the code for ftrace_set_clr_event into a helper funciton but did not initialize the return value. As a result, we do not warn about a typo in the echoing of events in set_event. This patch restores the old warning: # echo foobar > set_event -bash: echo: write error: Invalid argument [ Impact: restore warning of invalid entries to set_event ] Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed