From: Rasmus Villemoes Date: Thu, 12 Feb 2015 23:01:42 +0000 (-0800) Subject: lib/vsprintf.c: replace while with do-while in skip_atoi X-Git-Tag: fixes-v4.0-rc1~115^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e5b666cf25516b5c27cd10c47d287dc9d1f376;p=pandora-kernel.git 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 Cc: Jiri Kosina Cc: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed