Commit ae27f86a21eb9a9e005f06b126eb88662ba4f940

Authored by Jim Cromie
Committed by Greg Kroah-Hartman
1 parent bc757f6f5b

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 <jim.cromie@gmail.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

... ... @@ -322,8 +322,7 @@
322 322 query->last_lineno = query->first_lineno;
323 323 }
324 324 } else {
325   - if (verbose)
326   - pr_err("unknown keyword \"%s\"\n", words[i]);
  325 + pr_err("unknown keyword \"%s\"\n", words[i]);
327 326 return -EINVAL;
328 327 }
329 328 }