aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-06-12 14:50:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-08-13 06:08:40 -0400
commitcd2d00606553e631e9b5d11cca7da38fc95433e6 (patch)
tree06975ba1614050cbf21f0b168f1b934405de47b6 /scripts/generate_rust_analyzer.py
parentMerge tag 'kvm-s390-master-6.11-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (diff)
downloadlinux-rng-cd2d00606553e631e9b5d11cca7da38fc95433e6.tar.xz
linux-rng-cd2d00606553e631e9b5d11cca7da38fc95433e6.zip
KVM: SVM: Fix an error code in sev_gmem_post_populate()
The copy_from_user() function returns the number of bytes which it was not able to copy. Return -EFAULT instead. Fixes: dee5a47cc7a4 ("KVM: SEV: Add KVM_SEV_SNP_LAUNCH_UPDATE command") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Message-ID: <20240612115040.2423290-4-dan.carpenter@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions