From: axel lin Date: Fri, 14 Jan 2011 09:39:11 +0000 (+0000) Subject: video: pxa3xx-gcu: Return -EFAULT when copy_from_user() fails X-Git-Tag: v2.6.38-rc3~57^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b7f1cc79d61427961e311c6a21f528bdb226e40;p=pandora-kernel.git video: pxa3xx-gcu: Return -EFAULT when copy_from_user() fails Return -EFAULT instead of number of bytes that could not be copied if copy_from_user() fails. Also fix a typo in the comments. Signed-off-by: Axel Lin Signed-off-by: Paul Mundt --- Reading git-diff-tree failed