dyndbg: accept query terms like file=bar and module=foo
authorJim Cromie <jim.cromie@gmail.com>
Sun, 19 Jul 2020 23:10:54 +0000 (17:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2020 15:00:09 +0000 (17:00 +0200)
commit14775b04964264189caa4a0862eac05dab8c0502
tree4a7adf29a289d782c102d6c212bbfaac9a4fae3a
parentaaebe329bff0d84e04e74915a828b12a40b55456
dyndbg: accept query terms like file=bar and module=foo

Current code expects "keyword" "arg" as 2 words, space separated.
Change to also accept "keyword=arg" form as well, and drop !(nwords%2)
requirement.  Then in rest of function, use new keyword, arg variables
instead of word[i], word[i+1]

Acked-by: <jbaron@akamai.com>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Link: https://lore.kernel.org/r/20200719231058.1586423-15-jim.cromie@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/dynamic-debug-howto.rst
lib/dynamic_debug.c