From: Jason Baron Date: Mon, 27 Oct 2008 16:05:14 +0000 (-0400) Subject: Driver core: fix 'dynamic_debug' cmd line parameter X-Git-Tag: v2.6.28-rc3~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=113328306dbdfd5f146f257e447364dc66d025d4;p=pandora-kernel.git Driver core: fix 'dynamic_debug' cmd line parameter In testing 2.6.28-rc1, I found that passing 'dynamic_printk' on the command line didn't activate the debug code. The problem is that dynamic_printk_setup() (which activates the debugging) is being called before dynamic_printk_init() is called (which initializes infrastructure). Fix this by setting setting the state to 'DYNAMIC_ENABLED_ALL' in dynamic_printk_setup(), which will also cause all subsequent modules to have debugging automatically started, which is probably the behavior we want. Signed-off-by: Jason Baron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed