Skip to contentSkip to conversation

printk : arch/arm/mach-footbridge/netwinder-hw.c

KJ Christophe Lucas 1 participant 1 message May 15, 2006

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Description:
printk should include appropriate KERN_* constant (of course only at beginning of lines).

arch/arm/mach-footbridge/netwinder-hw.c +3 -3
Index: linux-2.6.16.16/arch/arm/mach-footbridge/netwinder-hw.c
===================================================================
@@ -548,7 +548,7 @@
 		mdelay(1);
 	}
 	if (i == 5)
-		printk("SoundBlaster: DSP reset failed\n");
+		printk(KERN_WARNING "SoundBlaster: DSP reset failed\n");
 
 	dprintk("SoundBlaster DSP reset: %02X (AA)\n", inb(0x22a));
 
@@ -559,7 +559,7 @@
 	}
 
 	if (i == 5)
-		printk("SoundBlaster: DSP not ready\n");
+		printk(KERN_WARNING "SoundBlaster: DSP not ready\n");
 	else {
 		outb(0xe1, 0x22c);
 
@@ -576,7 +576,7 @@
 		}
 
 		if (i == 5)
-			printk("SoundBlaster: could not turn speaker off\n");
+			printk(KERN_WARNING "SoundBlaster: could not turn speaker off\n");
 
 		outb(0xd3, 0x22c);
 	}

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