diff options
| author | Jim Cromie <[email protected]> | 2020-08-31 18:22:10 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-04 15:21:56 +0000 |
| commit | 42f07816ac0cc797928119cc039c414ae2b95d34 (patch) | |
| tree | e36e4a47340beadc5179ec382abff82f1718c1bd /drivers/pci/controller/vmd.c | |
| parent | dyndbg: refine export, rename to dynamic_debug_exec_queries() (diff) | |
| download | kernel-42f07816ac0cc797928119cc039c414ae2b95d34.tar.gz kernel-42f07816ac0cc797928119cc039c414ae2b95d34.zip | |
dyndbg: fix problem parsing format="foo bar"
commit 14775b049642 ("dyndbg: accept query terms like file=bar and
module=foo") added the combined keyword=value parsing poorly; revert
most of it, keeping the keyword & arg change.
Instead, fix the tokenizer for the new input, by terminating the
keyword (an unquoted word) on '=' as well as space, thus letting the
tokenizer work on the quoted argument, like it would have previously.
Also add a few debug-prints to show more parsing context, into
tokenizer and parse-query, and use "keyword, value" in others.
Fixes: 14775b049642 ("dyndbg: accept query terms like file=bar and module=foo")
Signed-off-by: Jim Cromie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
