summaryrefslogtreecommitdiff
path: root/include/linux/dynamic_debug.h
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2011-12-19 17:12:54 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 12:48:54 -0800
commitb5b78f83854af15e04c63fdbc6efed9355afbe8f (patch)
treec0f3a85ec25beace9288e6cc9d07723ffeb989fe /include/linux/dynamic_debug.h
parent820874c75ea0d3a9c22d69d6eaad42a279d6756c (diff)
dynamic_debug: early return if _ddebug table is empty
If _ddebug table is empty (in a CONFIG_DYNAMIC_DEBUG build this shouldn't happen), then warn (error?) and return early. This skips empty table scan and parsing of setup-string, including the pr_info call noting the parse. By inspection, copy return-code handling from 1st ddebug_add_module() callsite to 2nd. 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>
Diffstat (limited to 'include/linux/dynamic_debug.h')
0 files changed, 0 insertions, 0 deletions