From: Rasmus Villemoes Date: Thu, 12 Feb 2015 23:01:50 +0000 (-0800) Subject: libstring_helpers.c:string_get_size(): return void X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~99^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1214c65c02d503330ce86bd38e344a36599e055;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed