From: Dan Carpenter Date: Sat, 8 Sep 2012 09:57:35 +0000 (+0300) Subject: xen/privcmd: return -EFAULT on error X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~30^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2be9287107695708e6aae5105a8a518a6cb4d0;p=pandora-kernel.git xen/privcmd: return -EFAULT on error __copy_to_user() returns the number of bytes remaining to be copied but we want to return a negative error code here. Acked-by: Andres Lagar-Cavilla Signed-off-by: Dan Carpenter Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed