From: Jim Cromie Date: Mon, 19 Dec 2011 22:12:54 +0000 (-0500) Subject: dynamic_debug: early return if _ddebug table is empty X-Git-Tag: v3.4-rc1~187^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b78f83854af15e04c63fdbc6efed9355afbe8f;p=pandora-kernel.git 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 Signed-off-by: Jason Baron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed