Skip to contentSkip to conversation

watchdog: s3c2410_wdt: fix printk format compilation errors

PATCH New Denis 'GNUtoo' Carikli 1 participant 1 message Mar 14, 2012

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

PATCH 1/1 watchdog: s3c2410_wdt: fix printk format compilation errors

Without that fix we have:
drivers/watchdog/s3c2410_wdt.c: In function ‘watchdog_init’:
drivers/watchdog/s3c2410_wdt.c:542:0: error: unterminated argument list invoking macro "pr_info" [...]

This problem has been introduced by the commit 1ab73c46629484053953e678328b0a115a39ed3b
"watchdog: Use pr_<fmt> and pr_<level>".

---
 drivers/watchdog/s3c2410_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/s3c2410_wdt.c +1 -1
index 96b598c..cd6d688 100644
@@ -521,7 +521,7 @@ static struct platform_driver s3c2410wdt_driver = {
 
 static int __init watchdog_init(void)
 {
-	pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n";
+	pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n");
 
 	return platform_driver_register(&s3c2410wdt_driver);
 }
Signature · 1 line
1.7.4.1