OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.4.36.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6fbc6
)
[PATCH] wdt83627: fix wdt_init() return code
author
Willy Tarreau
<w@1wt.eu>
Sun, 5 Aug 2007 19:12:11 +0000
(21:12 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 5 Aug 2007 19:50:49 +0000
(21:50 +0200)
wdt_init() could return an uninitialized value if it
could not create a /proc entry.
drivers/char/wdt83627.c
patch
|
blob
|
history
diff --git
a/drivers/char/wdt83627.c
b/drivers/char/wdt83627.c
index
fe09276
..
a69b903
100644
(file)
--- a/
drivers/char/wdt83627.c
+++ b/
drivers/char/wdt83627.c
@@
-347,7
+347,7
@@
static struct notifier_block wdt_notifier = {
static int __init
wdt_init(void)
{
- int ret;
+ int ret
= -EBUSY
;
spin_lock_init(&io_lock);