diff options
author | 2009-12-10 23:46:52 +0100 | |
---|---|---|
committer | 2009-12-11 00:01:36 +0100 | |
commit | d954fbf0ff6b5fdfb32350e85a2f15d3db976506 (patch) | |
tree | 3814d5878ed43b7f3cd36bdfe08053bb3d5fc0d9 /kernel/resource.c | |
parent | Merge branch 'tip/tracing/core3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/core (diff) | |
download | wireguard-linux-d954fbf0ff6b5fdfb32350e85a2f15d3db976506.tar.xz wireguard-linux-d954fbf0ff6b5fdfb32350e85a2f15d3db976506.zip |
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/resource.c')
0 files changed, 0 insertions, 0 deletions