diff for duplicates of <871rx6n67a.fsf@vitty.brq.redhat.com> diff --git a/a/1.txt b/N1/1.txt index 9e40c04..5817e39 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,8 +21,8 @@ Dan Carpenter <dan.carpenter@oracle.com> writes: > vmcb_gpa = svm->vmcb->save.rax; > > ret = kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(vmcb_gpa), &map); -> - if (ret = EINVAL) { -> + if (ret = -EINVAL) { +> - if (ret == EINVAL) { +> + if (ret == -EINVAL) { > kvm_inject_gp(&svm->vcpu, 0); > return 1; > } else if (ret) { diff --git a/a/content_digest b/N1/content_digest index 2c59973..f2ef01d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190827093852.GA8443@mwanda\0" "From\0Vitaly Kuznetsov <vkuznets@redhat.com>\0" "Subject\0Re: [PATCH] x86: KVM: svm: Fix a check in nested_svm_vmrun()\0" - "Date\0Tue, 27 Aug 2019 12:28:09 +0000\0" + "Date\0Tue, 27 Aug 2019 14:28:09 +0200\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>" " Paolo Bonzini <pbonzini@redhat.com>\0" "Cc\0Radim Kr\304\215m\303\241\305\231 <rkrcmar@redhat.com>" @@ -41,8 +41,8 @@ "> \tvmcb_gpa = svm->vmcb->save.rax;\n" "> \n" "> \tret = kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(vmcb_gpa), &map);\n" - "> -\tif (ret = EINVAL) {\n" - "> +\tif (ret = -EINVAL) {\n" + "> -\tif (ret == EINVAL) {\n" + "> +\tif (ret == -EINVAL) {\n" "> \t\tkvm_inject_gp(&svm->vcpu, 0);\n" "> \t\treturn 1;\n" "> \t} else if (ret) {\n" @@ -55,4 +55,4 @@ "-- \n" Vitaly -af6fe01b9e67d50a4a65b195595c45ebf7281c464ac44a775624c2a4e0abe040 +abc85e716893667580830d3c010f75bfdbb7c1a9496203d7f6ee12d6192b260b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.