Unverified Commit d8358467 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents ad4d90bc fbf09052
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -260,7 +260,11 @@ static int ddebug_tokenize(char *buf, char *words[], int maxwords)
		} else {
			for (end = buf; *end && !isspace(*end); end++)
				;
			BUG_ON(end == buf);
			if (end == buf) {
				pr_err("parse err after word:%d=%s\n", nwords,
				       nwords ? words[nwords - 1] : "<none>");
				return -EINVAL;
			}
		}

		/* `buf' is start of word, `end' is one past its end */