Skip to contentSkip to conversation

printk : arch/alpha/kernel/core_apecs.c

KJ Christophe Lucas 1 participant 1 message Sep 22, 2005

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

Description:
printk() calls should include appropriate KERN_* constant.

arch/alpha/kernel/core_apecs.c +2 -2
Index: linux-2.6.14-rc2/arch/alpha/kernel/core_apecs.c
===================================================================
@@ -182,7 +182,7 @@ conf_read(unsigned long addr, unsigned c
 	if (stat0 & 0xffe0U) {
 		/* If not NDEV, print status.  */
 		if (!(stat0 & 0x0800)) {
-			printk("apecs.c:conf_read: got stat0=%x\n", stat0);
+			printk(KERN_INFO "apecs.c:conf_read: got stat0=%x\n", stat0);
 		}
 
 		/* Reset error status.  */
@@ -251,7 +251,7 @@ conf_write(unsigned long addr, unsigned 
 	if (stat0 & 0xffe0U) {
 		/* If not NDEV, print status.  */
 		if (!(stat0 & 0x0800)) {
-			printk("apecs.c:conf_write: got stat0=%x\n", stat0);
+			printk(KERN_INFO "apecs.c:conf_write: got stat0=%x\n", stat0);
 		}
 
 		/* Reset error status.  */

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