Searched hist:"43 e5b666cf25516b5c27cd10c47d287dc9d1f376" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/ |
H A D | vsprintf.c | diff 43e5b666cf25516b5c27cd10c47d287dc9d1f376 Thu Feb 12 17:01:42 CST 2015 Rasmus Villemoes <linux@rasmusvillemoes.dk> lib/vsprintf.c: replace while with do-while in skip_atoi
All callers of skip_atoi have already checked for the first character being a digit. In this case, gcc generates simpler code for a do while-loop.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|