Skip to contentSkip to conversation

watchdog: fix typo in omap_wdt.c]

PATCH In review Felipe Balbi 2 participants 2 messages Sep 29, 2008 – Oct 3, 2008 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: fix typo in omap_wdt.c]

Hi Tony,

i think you'd like to apply this to your tree as well (it's already with Wim) to avoid any bug when people try tro use omap_wdt.c

Signature · 1 line
balbi

From: Anand Gadiyar <[email protected]>

Fix typo in omap_wdt.c introduced by a recent change

---
 drivers/watchdog/omap_wdt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/omap_wdt.c +1 -1
Index: tony/drivers/watchdog/omap_wdt.c
===================================================================
@@ -283,7 +283,7 @@ static int __init omap_wdt_probe(struct 
 	}
 
 	if (omap_wdt_dev) {
-		ret - EBUSY;
+		ret = -EBUSY;
 		goto err_busy;
 	}
 
#1 lore raw
Quoted 4 lines · Felipe Balbi

Hi Tony,

i think you'd like to apply this to your tree as well (it's already with Wim) to avoid any bug when people try tro use omap_wdt.c

Pushing.

Tony

Quoted 33 lines
Signature · 21 lines
-- 
balbi

From: "ext Gadiyar, Anand" <[email protected]>
Subject: [PATCH] watchdog: fix typo in omap_wdt.c
Date: Mon, 29 Sep 2008 09:53:57 +0530
Message-ID: <[email protected]>
To: Wim Van Sebroeck <[email protected]>
CC: "[email protected]" <[email protected]>

From: Anand Gadiyar <[email protected]>

Fix typo in omap_wdt.c introduced by a recent change

Signed-off-by: Anand Gadiyar <[email protected]>
---
 drivers/watchdog/omap_wdt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: tony/drivers/watchdog/omap_wdt.c
===================================================================
drivers/watchdog/omap_wdt.c +1 -1
@@ -283,7 +283,7 @@ static int __init omap_wdt_probe(struct 
 	}
 
 	if (omap_wdt_dev) {
-		ret - EBUSY;
+		ret = -EBUSY;
 		goto err_busy;
 	}