commit | 9d2be9287107695708e6aae5105a8a518a6cb4d0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Sep 08 12:57:35 2012 +0300 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Sep 10 15:34:56 2012 -0400 |
tree | 29a653d6354535842cae3c515211a5bf37da1f6b | |
parent | 1714df7f2cee6a741c3ed24231ec5db25b90633a [diff] |
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 <andres@lagarcavilla.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>