Skip to contentSkip to conversation

i810fb: Clean up printk()'s in

KJ Domen Puncer 1 participant 1 message Jan 30, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · James Nelson

This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/i810/i810_accel.c

diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/i810/i810_accel.c linux-2.6.11-rc2-mm1/drivers/video/i810/i810_accel.c

drivers/video/i810/i810_accel.c line 41

Quoted 9 lines
drivers/video/i810/i810_accel.c +2 -1
@@ -34,7 +34,8 @@
 /* BLT Engine Routines */
 static inline void i810_report_error(u8 __iomem *mmio)
 {
-	printk("IIR     : 0x%04x\n"
+	printk(KERN_ERR
+	       "IIR     : 0x%04x\n"
 	       "EIR     : 0x%04x\n"
 	       "PGTBL_ER: 0x%04x\n"
 	       "IPEIR   : 0x%04x\n"

KERN_ERR's missing after some newlines, i think.

Domen

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors