Skip to contentSkip to conversation

printk : drivers/char/watchdog/wdt285.c

PATCH New Christophe Lucas 1 participant 1 message Mar 16, 2005

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

PATCH 1/1 printk : drivers/char/watchdog/wdt285.c

Hi,

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

Have a nice day,

drivers/char/watchdog/wdt285.c +2 -2
diff -urpN -X dontdiff linux-2.6.11-vanilla/drivers/char/watchdog/wdt285.c linux-2.6.11/drivers/char/watchdog/wdt285.c
@@ -204,11 +204,11 @@ static int __init footbridge_watchdog_in
 	if (retval < 0)
 		return retval;
 
-	printk("Footbridge Watchdog Timer: 0.01, timer margin: %d sec\n",
+	printk(KERN_INFO "Footbridge Watchdog Timer: 0.01, timer margin: %d sec\n",
 	       soft_margin);
 
 	if (machine_is_cats())
-		printk("Warning: Watchdog reset may not work on this machine.\n");
+		printk(KERN_WARNING "Warning: Watchdog reset may not work on this machine.\n");
 	return 0;
 }
 

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