diff options
author | Dan Carpenter | 2012-09-08 11:57:35 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk | 2012-09-10 21:34:56 +0200 |
commit | 9d2be9287107695708e6aae5105a8a518a6cb4d0 (patch) | |
tree | 29a653d6354535842cae3c515211a5bf37da1f6b /drivers/media/video/em28xx | |
parent | xen/privcmd: Fix mmap batch ioctl error status copy back. (diff) | |
download | kernel-qcow2-linux-9d2be9287107695708e6aae5105a8a518a6cb4d0.tar.gz kernel-qcow2-linux-9d2be9287107695708e6aae5105a8a518a6cb4d0.tar.xz kernel-qcow2-linux-9d2be9287107695708e6aae5105a8a518a6cb4d0.zip |
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>
Diffstat (limited to 'drivers/media/video/em28xx')
0 files changed, 0 insertions, 0 deletions