From: Joe Perches Date: Thu, 13 Sep 2012 03:12:19 +0000 (-0700) Subject: netdev_printk/dynamic_netdev_dbg: Directly call printk_emit X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~76^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b004ff4972e2a42aa4512c90cc6a9e4dc1bb36b6;p=pandora-kernel.git netdev_printk/dynamic_netdev_dbg: Directly call printk_emit A lot of stack is used in recursive printks with %pV. Using multiple levels of %pV (a logging function with %pV that calls another logging function with %pV) can consume more stack than necessary. Avoid excessive stack use by not calling dev_printk from netdev_printk and dynamic_netdev_dbg. Duplicate the logic and form of dev_printk instead. Make __netdev_printk static. Remove EXPORT_SYMBOL(__netdev_printk) Whitespace and brace style neatening. Signed-off-by: Joe Perches Acked-by: David S. Miller Tested-by: Jim Cromie Acked-by: Jason Baron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed