Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd8c154a authored by jbaron@akamai.com's avatar jbaron@akamai.com Committed by Greg Kroah-Hartman
Browse files

dynamic debug: line queries failing due to uninitialized local variable



Settings of the form, 'line x module y +p', can fail arbitrarily due to an
uninitialized local variable. With this patch results are consistent, as
expected.

Signed-off-by: default avatarJason Baron <jbaron@akamai.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 574979c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ static int ddebug_parse_query(char *words[], int nwords,
			struct ddebug_query *query, const char *modname)
{
	unsigned int i;
	int rc;
	int rc = 0;

	/* check we have an even number of words */
	if (nwords % 2 != 0) {