Commit 861e5137 authored by Dale Farnsworth's avatar Dale Farnsworth Committed by Wim Van Sebroeck

[WATCHDOG] mv64x60_wdt: Check return value of nonseekable_open

Return the value of the nonseekable_open function and not 0.
Signed-off-by: default avatarDale Farnsworth <dale@farnsworth.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 7e07a159
...@@ -90,9 +90,7 @@ static int mv64x60_wdt_open(struct inode *inode, struct file *file) ...@@ -90,9 +90,7 @@ static int mv64x60_wdt_open(struct inode *inode, struct file *file)
mv64x60_wdt_service(); mv64x60_wdt_service();
mv64x60_wdt_handler_enable(); mv64x60_wdt_handler_enable();
nonseekable_open(inode, file); return nonseekable_open(inode, file);
return 0;
} }
static int mv64x60_wdt_release(struct inode *inode, struct file *file) static int mv64x60_wdt_release(struct inode *inode, struct file *file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment