diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-12-29 05:47:04 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 05:47:04 -0800 |
| commit | 413393076d7b90e7862abc3bc74c8c81149e0714 (patch) | |
| tree | d61898ba1374ada05e7cc0c7b246d737de475d5d /kernel | |
| parent | a7380b60b3bf457322551168f97c845257f544dd (diff) | |
[PATCH] watchdog write() return value fixes
From: gleb@nbase.co.il (Gleb Natapov)
There is inconsistency in fops->write() implementation in different
watchdog drivers. Some of them return number of bytes written while others
return 1.
I think the correct implementation should always return number of bytes
written (we examine all the buffer after all) otherwise "echo V >
/dev/watchdog" doesn't work as expected (it doesn't stop watchdog).
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
