dynamic_debug: chop off comments in ddebug_tokenize
authorJim Cromie <jim.cromie@gmail.com>
Mon, 19 Dec 2011 22:13:03 +0000 (17:13 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 20:48:54 +0000 (12:48 -0800)
commit8bd6026e88cb2eb1e60ee40c7a1a0786b2db6623
treeba8a4a4bab38500b8e6434a1a880755a2a867fc6
parente703ddae383abb24b1c7f363cb0df7e78a44ea45
dynamic_debug: chop off comments in ddebug_tokenize

If a token begins with #, the remainder of query string is a comment,
so drop it.  Doing it here avoids '#' in quoted strings.

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