diff options
author | 2015-02-12 15:01:50 -0800 | |
---|---|---|
committer | 2015-02-12 18:54:13 -0800 | |
commit | d1214c65c02d503330ce86bd38e344a36599e055 (patch) | |
tree | e07829fc569c35be5860b239ad3e9c4e2b28e6cb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | lib/string_helpers.c:string_get_size(): use 32 bit arithmetic when possible (diff) | |
download | wireguard-linux-d1214c65c02d503330ce86bd38e344a36599e055.tar.xz wireguard-linux-d1214c65c02d503330ce86bd38e344a36599e055.zip |
libstring_helpers.c:string_get_size(): return void
string_get_size() was documented to return an error, but in fact always
returned 0. Since the output always fits in 9 bytes, just document that
and let callers do what they do now: pass a small stack buffer and ignore
the return value.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions