summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorFrederik Deweerdt <deweerdt@free.fr>2006-09-29 02:01:02 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:19 -0700
commitf7ca54f486d3b07f48b8bbc92705bde6ba98ee54 (patch)
tree33a464bf15016d5521c1c18f53af5c64a2cc06de /Documentation
parent87d7c8aca8670a772f74766c19e0345a606b67a9 (diff)
downloadlinux-3.10-f7ca54f486d3b07f48b8bbc92705bde6ba98ee54.tar.gz
linux-3.10-f7ca54f486d3b07f48b8bbc92705bde6ba98ee54.tar.bz2
linux-3.10-f7ca54f486d3b07f48b8bbc92705bde6ba98ee54.zip
[PATCH] fix mem_write() return value
At the beginning of the routine, "copied" is set to 0, but it is no good because in lines 805 and 812 it is set to other values. Finally, the routine returns as if it copied 12 (=ENOMEM) bytes less than it actually did. Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com> Acked-by: Eric Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions