i810fb: Clean up printk()'s in
Subsystems (2)
PATCH RESEND 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 - resent after adding constants to all lines of a multi-line printk() call.
Signed-off-by James Nelson <[email protected]>
drivers/video/i810/i810_accel.c +13 -13
@@ -34,16 +34,16 @@ extern void flush_cache(void);/* BLT Engine Routines */ static inline void i810_report_error (u8 __iomem *mmio) { -printk ("IIR : 0x%04x\n" -"EIR : 0x%04x\n" -"PGTBL_ER: 0x%04x\n" -"IPEIR : 0x%04x\n" -"IPEHR : 0x%04x\n" , -i810_readw (IIR , mmio), -i810_readb (EIR , mmio), -i810_readl (PGTBL_ER , mmio), -i810_readl (IPEIR , mmio), -i810_readl (IPEHR , mmio)); +printk (KERN_ERR "IIR : 0x%04x\n" +KERN_ERR "EIR : 0x%04x\n" +KERN_ERR "PGTBL_ER: 0x%04x\n" +KERN_ERR "IPEIR : 0x%04x\n" +KERN_ERR "IPEHR : 0x%04x\n" , +i810_readw (IIR , mmio), +i810_readb (EIR , mmio), +i810_readl (PGTBL_ER , mmio), +i810_readl (IPEIR , mmio), +i810_readl (IPEHR , mmio)); }/**
@@ -71,7 +71,7 @@ static inline int wait_for_space(structreturn 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 +98,8 @@ static inline int wait_for_engine_idle(swhile ((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