VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexey Dobriyan <adobriyan@gmail.com> 2017-07-10 15:51:38 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2017-07-10 16:32:34 -0700 commit: 512750ef8b06290a55d749239f956f9c21d7daca parent: 2c6deb01525ac11cc03c44fe31e3f45ce2cadaf9
Commit Summary:
lib/kstrtox.c: delete end-of-string test
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/lib/kstrtox.c b/lib/kstrtox.c
index bf85e05ce858..90013f4841c7 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')