summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-12-29 05:47:04 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-12-29 05:47:04 -0800
commit413393076d7b90e7862abc3bc74c8c81149e0714 (patch)
treed61898ba1374ada05e7cc0c7b246d737de475d5d /kernel
parenta7380b60b3bf457322551168f97c845257f544dd (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