aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-10 23:46:52 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-12-11 00:01:36 +0100
commitd954fbf0ff6b5fdfb32350e85a2f15d3db976506 (patch)
tree3814d5878ed43b7f3cd36bdfe08053bb3d5fc0d9 /scripts
parent788d70dce0184eccc249ac6f05aa38b385b7497c (diff)
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 <tglx@linutronix.de> Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions