mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
bc757f6f5b
commit
ae27f86a21
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue