mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 1/1] printk : drivers/char/watchdog/wdt285.c
@ 2005-03-19 13:19 domen
  0 siblings, 0 replies; only message in thread
From: domen @ 2005-03-19 13:19 UTC (permalink / raw)
  To: wim; +Cc: linux-kernel, domen, clucas



printk() calls should include appropriate KERN_* constant.

Signed-off-by: Christophe Lucas <clucas@rotomalug.org>
Signed-off-by: Domen Puncer <domen@coderock.org>
---


 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;
 }
 
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-19 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-19 13:19 [patch 1/1] printk : drivers/char/watchdog/wdt285.c domen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome