diff for duplicates of <20190827093852.GA8443@mwanda> diff --git a/a/1.txt b/N1/1.txt index e0e2afd..d64da77 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,8 +19,8 @@ index 1f220a85514f..ef646e22d1ab 100644 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 097df51..11a7ae7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] x86: KVM: svm: Fix a check in nested_svm_vmrun()\0" - "Date\0Tue, 27 Aug 2019 09:38:52 +0000\0" + "Date\0Tue, 27 Aug 2019 12:38:52 +0300\0" "To\0Paolo Bonzini <pbonzini@redhat.com>" " Vitaly Kuznetsov <vkuznets@redhat.com>\0" "Cc\0Radim Kr\304\215m\303\241\305\231 <rkrcmar@redhat.com>" @@ -38,12 +38,12 @@ " \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" "-- \n" 2.20.1 -805e0b349df2817576c3fe4d2bdb5f376e2e1f60c9c299a1756e6d4788d9219f +ccf92f924bb1ed4e790a4ca9fe5dcc0da2a45c45dbbe4a2d16ae1fda60dce737
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.