summaryrefslogtreecommitdiffstats
path: root/scripts/Lindent
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-08-11 03:03:29 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 17:59:22 +0200
commite2e7e093259d4c6b73b432122974393d6fcdfc2a (patch)
treed8a5ff294a21c074724539f4fc8f9b7783ae96b4 /scripts/Lindent
parentpanic: keep blinking in spite of long spin timer mode (diff)
downloadlinux-e2e7e093259d4c6b73b432122974393d6fcdfc2a.tar.xz
linux-e2e7e093259d4c6b73b432122974393d6fcdfc2a.zip
lib/bug.c: make WARN implementation match the kernel/panic.c one
There are a few issues with the exception based WARN implementation in lib/bug.c: - Inconsistent printk flags. The "cut here" line is printed at KERN_EMERG, so the console and all logged in users see the single line: ------------[ cut here ]------------ for each WARN. Fix this so we print everything at KERN_WARNING to match the kernel/panic.c version. - The lib/bug.c WARN would print "Badness at". Change it to match the kernel/panic.c version which prints "WARNING: at". - Print the list of modules, similar to kernel/panic.c of modules, similar to kernel/panic.c [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Anton Blanchard <anton@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arjan van de Ven <arjan@infradead.org> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions