projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc757f6
)
dynamic_debug: pr_err() call should not depend upon verbosity
author
Jim Cromie
<jim.cromie@gmail.com>
Mon, 19 Dec 2011 22:12:34 +0000
(17:12 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Jan 2012 20:46:45 +0000
(12:46 -0800)
Issue keyword/parsing errors even w/o verbose set;
uncover otherwize mysterious non-functionality.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/dynamic_debug.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/dynamic_debug.c
b/lib/dynamic_debug.c
index 6fc8622f0a8343aafa1c976c8b8819d586939ee2..d232025cb85c908113e1667394f9c3545e48937e 100644
(file)
--- 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;
}
}