From: Nick Andrew Date: Mon, 12 May 2008 19:21:04 +0000 (+0200) Subject: printk: remember the message level for multi-line output X-Git-Tag: v2.6.27-rc1~1098^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=091593080533a752ce66d12858d8c4105c8e1793;p=pandora-kernel.git printk: remember the message level for multi-line output printk(KERN_ALERT "Danger Will Robinson!\nAlien Approaching!\n"); At present this will result in one message at ALERT level and one at the current default message loglevel (e.g. WARNING). This is non-intuitive. Modify vprintk() to remember the message loglevel each time it is specified and use it for subsequent lines of output which do not specify one, within the same call to printk. Signed-off-by: Nick Andrew Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed