From: Petr Vandrovec Date: Mon, 7 May 2007 02:14:47 +0000 (+0200) Subject: ieee1394: raw1394: Fix read() for 32bit userland on 64bit kernel X-Git-Tag: v2.6.23-rc1~1199^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee9be425961c3ccf75553c83a73bf1f707e66d91;p=pandora-kernel.git ieee1394: raw1394: Fix read() for 32bit userland on 64bit kernel read() always failed with -EFAULT. This was happening due to raw1394_compat_read copying data to wrong location - access_ok always failed as 'r' is kernel address, not user. Whole function just tried to copy data from 'r' to 'r', which is not good. Signed-off-by: Petr Vandrovec Acked-by: Dan Dennedy Signed-off-by: Stefan Richter (split into 3 patches) --- Reading git-diff-tree failed