diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-12-10 23:46:52 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-12-11 00:01:36 +0100 |
commit | d954fbf0ff6b5fdfb32350e85a2f15d3db976506 (patch) | |
tree | 3814d5878ed43b7f3cd36bdfe08053bb3d5fc0d9 /kernel/itimer.c | |
parent | 788d70dce0184eccc249ac6f05aa38b385b7497c (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 'kernel/itimer.c')
0 files changed, 0 insertions, 0 deletions