Dan Carpenter 9d2be92871 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>
2012-09-10 15:34:56 -04:00
..
2012-04-06 17:54:53 -07:00
2011-12-16 13:29:39 -05:00
2012-04-19 15:12:49 -04:00
2012-09-10 15:34:56 -04:00
2011-12-16 13:29:31 -05:00
2012-03-22 20:16:14 -07:00