From: Jan Beulich Date: Sat, 25 Mar 2006 11:07:31 +0000 (-0800) Subject: [PATCH] adjust /dev/{kmem,mem,port} write handlers X-Git-Tag: v2.6.17-rc1~804 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c654d60e8f0ea13e35b15cff54c0e473b8b162be;p=pandora-kernel.git [PATCH] adjust /dev/{kmem,mem,port} write handlers The /dev/mem and /dev/kmem write handlers weren't fully POSIX compliant in that they wouldn't always force the file pointer to be updated when returning success status. The /dev/port write handler was inconsistent with the /dev/mem and /dev/kmem handlers in that when encountering a -EFAULT condition after already having written a number of items it would return -EFAULT rather than the number of bytes written. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed