[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <42bb22b0b937cf4f3458b7c08b0294e38f1aa778.1324318997.git.jbaron@redhat.com>
Date: Mon, 19 Dec 2011 17:12:34 -0500
From: Jason Baron <jbaron@...hat.com>
To: greg@...ah.com
Cc: jim.cromie@...il.com, joe@...ches.com, bart.vanassche@...il.com,
linux-kernel@...r.kernel.org
Subject: [PATCH 06/16] dynamic_debug: pr_err() call should not depend upon verbosity
From: Jim Cromie <jim.cromie@...il.com>
Issue keyword/parsing errors even w/o verbose set;
uncover otherwize mysterious non-functionality.
Signed-off-by: Jim Cromie <jim.cromie@...il.com>
Signed-off-by: Jason Baron <jbaron@...hat.com>
---
lib/dynamic_debug.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 6fc8622..d232025 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -322,8 +322,7 @@ static int ddebug_parse_query(char *words[], int nwords,
query->last_lineno = query->first_lineno;
}
} else {
- if (verbose)
- pr_err("unknown keyword \"%s\"\n", words[i]);
+ pr_err("unknown keyword \"%s\"\n", words[i]);
return -EINVAL;
}
}
--
1.7.7.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists