diff options
author | Thomas Gleixner <[email protected]> | 2009-12-10 23:46:52 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2009-12-11 00:01:36 +0100 |
commit | d954fbf0ff6b5fdfb32350e85a2f15d3db976506 (patch) | |
tree | 3814d5878ed43b7f3cd36bdfe08053bb3d5fc0d9 /scripts/basic/docproc.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 <[email protected]>
Cc: Xiao Guangrong <[email protected]>
Cc: Steven Rostedt <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions