git.codelabs.ch
/
muen
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/kstrtox.c: delete end-of-string test
[muen/linux.git]
/
lib
/
kstrtox.c
diff --git
a/lib/kstrtox.c
b/lib/kstrtox.c
index bf85e05ce85815a0fb36ab26f9e5642dd455ae1a..90013f4841c77b35935009d313363e2e7b02c0d7 100644
(file)
--- a/
lib/kstrtox.c
+++ b/
lib/kstrtox.c
@@
-51,7
+51,7
@@
unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long
res = 0;
rv = 0;
- while (
*s
) {
+ while (
1
) {
unsigned int val;
if ('0' <= *s && *s <= '9')