Skip to contentSkip to conversation

Fix irq event debug print-out, and add stack dump which can

DISCUSSION Muli Ben-Yehuda 1 participant 1 message Apr 22, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Review

Quoted 5 lines · Linux Kernel Mailing List
(quoted diff) +0 -0
 			printk(retval
 				? "irq event %d: bogus retval mask %x\n"
 				: "irq %d: nobody cared!\n",
 				irq, 
 				retval);

Uhm, the first printk string takes two parameters, and the second one only one parameter... how about this cosmetic patch? Better some superflous information than printk params mismatch. Not tested, obvious.

i386/kernel/irq.c +1 -1
diff -u -r1.31 irq.c
@@ -225,7 +225,7 @@
 			count--;
 			printk(retval
 				? "irq event %d: bogus retval mask %x\n"
-				: "irq %d: nobody cared!\n",
+				: "irq %d: nobody cared! (retval %x)\n",
 				irq, 
 				retval);
 		}
Signature · 2 lines
Muli Ben-Yehuda
http://www.mulix.org