summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorDan Carpenter2014-05-03 22:18:11 +0200
committerChristian Borntraeger2014-05-06 14:57:59 +0200
commitfcc9aec3de0a1d00cbce47f7274ec0c62122266b (patch)
tree2dd17d25be679f006f3ecad0eccab57fc376db94 /Documentation/virtual
parentMerge tag 'kvm-s390-20140429' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-qcow2-linux-fcc9aec3de0a1d00cbce47f7274ec0c62122266b.tar.gz
kernel-qcow2-linux-fcc9aec3de0a1d00cbce47f7274ec0c62122266b.tar.xz
kernel-qcow2-linux-fcc9aec3de0a1d00cbce47f7274ec0c62122266b.zip
KVM: s390: return -EFAULT if copy_from_user() fails
When copy_from_user() fails, this code returns the number of bytes remaining instead of a negative error code. The positive number is returned to the user but otherwise it is harmless. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions