]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite62d2393be2ba3208d5a823f7d313bdb30a8d23f
treeba8a4a4bab38500b8e6434a1a880755a2a867fc6
parent3e60d0d4f8a9dac12757f2e593475c3ecde3c45d
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