diff --git a/lib/kstrtox.c b/lib/kstrtox.c index bf85e05ce85815a0fb36ab26f9e5642dd455ae1a..90013f4841c77b35935009d313363e2e7b02c0d7 100644 --- 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')