[patch 1/1] printk : drivers/char/watchdog/wdt285.c

From: domen
Date: Sat Mar 19 2005 - 08:56:17 EST




printk() calls should include appropriate KERN_* constant.

Signed-off-by: Christophe Lucas <clucas@xxxxxxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


kj-domen/drivers/char/watchdog/wdt285.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/char/watchdog/wdt285.c~printk-drivers_char_watchdog_wdt285 drivers/char/watchdog/wdt285.c
--- kj/drivers/char/watchdog/wdt285.c~printk-drivers_char_watchdog_wdt285 2005-03-18 20:05:42.000000000 +0100
+++ kj-domen/drivers/char/watchdog/wdt285.c 2005-03-18 20:05:42.000000000 +0100
@@ -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;
}

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/