Remove multiple KERN_ prefixes from printk formats
Commit 5fd29d6ccb
("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_<level> prefixes are no longer emitted as
before the patch.
<level> is now included in the output on each additional use.
Remove all uses of multiple KERN_<level>s in formats.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e3288775ff
commit
ad361c9884
@@ -70,8 +70,8 @@ void show_stack(struct task_struct *task, unsigned long *esp)
|
||||
if (kstack_end(stack))
|
||||
break;
|
||||
if (i && ((i % 8) == 0))
|
||||
printk("\n" KERN_INFO " ");
|
||||
printk("%08lx ", *stack++);
|
||||
printk(KERN_INFO " ");
|
||||
printk(KERN_CONT "%08lx ", *stack++);
|
||||
}
|
||||
|
||||
show_trace(task, esp);
|
||||
|
Reference in New Issue
Block a user