lkml.org 
[lkml]   [2003]   [Apr]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 22 Apr 2003 10:29:04 +0300
FromMuli Ben-Yehuda <>
SubjectRe: Fix irq event debug print-out, and add stack dump which can
On Tue, Apr 22, 2003 at 06:05:40AM +0000, Linux Kernel Mailing List wrote:
>  			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. 

diff -u -r1.31 irq.c
--- arch/i386/kernel/irq.c	21 Apr 2003 20:10:51 -0000	1.31
+++ arch/i386/kernel/irq.c	22 Apr 2003 06:31:10 -0000
@@ -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);
 		}
-- 
Muli Ben-Yehuda
http://www.mulix.org

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:34    [W:0.065 / U:0.010 seconds]
©2003-2008 Jasper Spaans