Thread (29 messages) 29 messages, 8 authors, 2007-04-10

Re: [patch 05/10] Use KERN_EMERG everywhere in oops printout

From: Paul Mackerras <hidden>
Date: 2007-03-23 11:00:37

anton@samba.org writes:
quoted hunk ↗ jump to hunk
@@ -926,9 +934,10 @@
 		    && stack[FRAME_MARKER] == REGS_MARKER) {
 			struct pt_regs *regs = (struct pt_regs *)
 				(sp + STACK_FRAME_OVERHEAD);
-			printk("--- Exception: %lx", regs->trap);
+			printk("%s--- Exception: %lx", log_lvl, regs->trap);
 			print_symbol(" at %s\n", regs->nip);
 			lr = regs->link;
+			printk(KERN_EMERG);
Why is this one KERN_EMERG rather than log_lvl?  Just an oversight?

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help