Skip to contentSkip to conversation

watchdog: fix compiler error for missing parenthesis

PATCH In review Jaehoon Chung 3 participants 3 messages Mar 16, 2012

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

PATCH 1/1 watchdog: fix compiler error for missing parenthesis

Hi Stephen.

Joe's patch(watchdog: Use pr_<fmt> and pr_<level>) is missed the parenthesis in s3c2410_wdt.c. (based-on latest linux-next repository)
It's fixed with this patch.

---
 drivers/watchdog/s3c2410_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/s3c2410_wdt.c +1 -1
index 46c251d..04e5a6d 100644
@@ -523,7 +523,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);
 }
#1 lore raw

drivers/watchdog/s3c2410_wdt.c

Quoted 4 lines · Jaehoon Chung

Joe's patch(watchdog: Use pr_<fmt> and pr_<level>) is missed the parenthesis in s3c2410_wdt.c. (based-on latest linux-next repository)
It's fixed with this patch.

drivers/watchdog/s3c2410_wdt.c +0 -0

[]

drivers/watchdog/s3c2410_wdt.c static struct platform_driver s3c2410wdt_driver = { · line 526

Quoted 4 lines

static int __init watchdog_init(void)
{

drivers/watchdog/s3c2410_wdt.c +1 -1
-	pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n";
+	pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n");

Thanks.

#2 lore raw
In reply to Jaehoon Chung

[Cc'ing the watchdog maintainer]

Quoted 27 lines · On Fri, 16 Mar 2012 15:27:21 +0900 Jaehoon Chung <[email protected]> wrote:

Hi Stephen.

Joe's patch(watchdog: Use pr_<fmt> and pr_<level>) is missed the parenthesis in s3c2410_wdt.c. (based-on latest linux-next repository)
It's fixed with this patch.

---
 drivers/watchdog/s3c2410_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/s3c2410_wdt.c +1 -1
index 46c251d..04e5a6d 100644
@@ -523,7 +523,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 · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/