From: Thomas Gleixner Date: Thu, 10 Dec 2009 22:46:52 +0000 (+0100) Subject: tracing: Fix wrong usage of strstrip in trace_ksyms X-Git-Tag: v2.6.33-rc1~52^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d954fbf0ff6b5fdfb32350e85a2f15d3db976506;p=pandora-kernel.git tracing: Fix wrong usage of strstrip in trace_ksyms strstrip returns a pointer to the first non space character, but the code in parse_ksym_trace_str() ignores that. strstrip is now must_check and therefor we get the correct warning: kernel/trace/trace_ksym.c:294: warning: ignoring return value of ‘strstrip’, declared with attribute warn_unused_result We are really not interested in leading whitespace here. Fix that and cleanup the dozen kfree() exit pathes. Signed-off-by: Thomas Gleixner Cc: Xiao Guangrong Cc: Steven Rostedt --- Reading git-diff-tree failed