projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e07a15
)
[WATCHDOG] mv64x60_wdt: Check return value of nonseekable_open
author
Dale Farnsworth
<dale@farnsworth.org>
Tue, 24 Jul 2007 18:13:26 +0000
(11:13 -0700)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 24 Jul 2007 21:16:05 +0000
(21:16 +0000)
Return the value of the nonseekable_open function and not 0.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/mv64x60_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/watchdog/mv64x60_wdt.c
b/drivers/char/watchdog/mv64x60_wdt.c
index 064e18034395fe5cb749b999422a0904dacbdf9e..f1516b4b22a1a1fe161e1cc252aa61bbf2eabde2 100644
(file)
--- a/
drivers/char/watchdog/mv64x60_wdt.c
+++ b/
drivers/char/watchdog/mv64x60_wdt.c
@@
-90,9
+90,7
@@
static int mv64x60_wdt_open(struct inode *inode, struct file *file)
mv64x60_wdt_service();
mv64x60_wdt_handler_enable();
- nonseekable_open(inode, file);
-
- return 0;
+ return nonseekable_open(inode, file);
}
static int mv64x60_wdt_release(struct inode *inode, struct file *file)
This page took
0.025068 seconds
and
5
git commands to generate.