diff options
| author | Rasmus Villemoes <[email protected]> | 2015-02-12 23:01:42 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-13 02:54:13 +0000 |
| commit | 43e5b666cf25516b5c27cd10c47d287dc9d1f376 (patch) | |
| tree | 1347a5fca8c89e284e3548e9059a3e1f6aee1e84 /lib/string_helpers.c | |
| parent | lib/vsprintf.c: improve sanity check in vsnprintf() (diff) | |
| download | kernel-43e5b666cf25516b5c27cd10c47d287dc9d1f376.tar.gz kernel-43e5b666cf25516b5c27cd10c47d287dc9d1f376.zip | |
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 <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
