From: Jim Cromie Date: Mon, 19 Dec 2011 22:12:34 +0000 (-0500) Subject: dynamic_debug: pr_err() call should not depend upon verbosity X-Git-Tag: MMI-PSA29.97-13-9~17269^2~70 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae27f86a21eb9a9e005f06b126eb88662ba4f940;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git dynamic_debug: pr_err() call should not depend upon verbosity Issue keyword/parsing errors even w/o verbose set; uncover otherwize mysterious non-functionality. Signed-off-by: Jim Cromie Signed-off-by: Jason Baron Signed-off-by: Greg Kroah-Hartman --- diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 6fc8622f0a83..d232025cb85c 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; } }