i810fb: Clean up printk()'s in
Subsystems (2)
PATCH 25/53 i810fb: Clean up printk()'s in
This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/i810/i810_accel.c
Signed-off-by James Nelson <[email protected]>
drivers/video/i810/i810_accel.c +5 -4
@@ -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"
@@ -71,7 +72,7 @@return 0 ; } } -printk ("ringbuffer lockup!!!\n" ); +printk (KERN_ERR "ringbuffer lockup!!!\n" );i810_report_error (mmio); par->dev_flags |=LOCKUP ; info->pixmap.scan_align =1 ;
@@ -98,8 +99,8 @@while ((i810_readw (INSTDONE , mmio) &0x7B ) !=0x7B && --count);if (count)return 0 ; -printk ("accel engine lockup!!!\n" ); -printk ("INSTDONE: 0x%04x\n" ,i810_readl (INSTDONE , mmio)); +printk (KERN_ERR "accel engine lockup!!!\n" ); +printk (KERN_ERR "INSTDONE: 0x%04x\n" ,i810_readl (INSTDONE , mmio));i810_report_error (mmio); par->dev_flags |=LOCKUP ; info->pixmap.scan_align =1 ;
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors