diff for duplicates of <20130411055305.GC9042@drongo> diff --git a/a/1.txt b/N1/1.txt index 343eb01..23b13ac 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -152,9 +152,9 @@ index 1e521ba..c445a3d 100644 + + rc = kvmppc_rtas_hcall(vcpu); + -+ if (rc = -ENOENT) ++ if (rc == -ENOENT) + return RESUME_HOST; -+ else if (rc = 0) ++ else if (rc == 0) + break; + + /* Send the error out to userspace via KVM_RUN */ @@ -282,7 +282,7 @@ index 0000000..8a324e8 + lockdep_assert_held(&kvm->lock); + + list_for_each_entry(d, &kvm->arch.rtas_tokens, list) { -+ if (d->token = token) ++ if (d->token == token) + return -EEXIST; + } + @@ -358,7 +358,7 @@ index 0000000..8a324e8 + + rc = -ENOENT; + list_for_each_entry(d, &vcpu->kvm->arch.rtas_tokens, list) { -+ if (d->token = args.token) { ++ if (d->token == args.token) { + d->handler->handler(vcpu, &args); + rc = 0; + break; @@ -367,7 +367,7 @@ index 0000000..8a324e8 + + mutex_unlock(&vcpu->kvm->lock); + -+ if (rc = 0) { ++ if (rc == 0) { + args.rets = orig_rets; + rc = kvm_write_guest(vcpu->kvm, args_phys, &args, sizeof(args)); + if (rc) diff --git a/a/content_digest b/N1/content_digest index a7b75f7..ce16078 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020130411055205.GB9042@drongo\0" "From\0Paul Mackerras <paulus@samba.org>\0" "Subject\0[PATCH 1/8] KVM: PPC: Book3S: Add infrastructure to implement kernel-side RTAS calls\0" - "Date\0Thu, 11 Apr 2013 05:53:06 +0000\0" + "Date\0Thu, 11 Apr 2013 15:53:06 +1000\0" "To\0Alexander Graf <agraf@suse.de>\0" "Cc\0kvm@vger.kernel.org" kvm-ppc@vger.kernel.org @@ -162,9 +162,9 @@ "+\n" "+\t\trc = kvmppc_rtas_hcall(vcpu);\n" "+\n" - "+\t\tif (rc = -ENOENT)\n" + "+\t\tif (rc == -ENOENT)\n" "+\t\t\treturn RESUME_HOST;\n" - "+\t\telse if (rc = 0)\n" + "+\t\telse if (rc == 0)\n" "+\t\t\tbreak;\n" "+\n" "+\t\t/* Send the error out to userspace via KVM_RUN */\n" @@ -292,7 +292,7 @@ "+\tlockdep_assert_held(&kvm->lock);\n" "+\n" "+\tlist_for_each_entry(d, &kvm->arch.rtas_tokens, list) {\n" - "+\t\tif (d->token = token)\n" + "+\t\tif (d->token == token)\n" "+\t\t\treturn -EEXIST;\n" "+\t}\n" "+\n" @@ -368,7 +368,7 @@ "+\n" "+\trc = -ENOENT;\n" "+\tlist_for_each_entry(d, &vcpu->kvm->arch.rtas_tokens, list) {\n" - "+\t\tif (d->token = args.token) {\n" + "+\t\tif (d->token == args.token) {\n" "+\t\t\td->handler->handler(vcpu, &args);\n" "+\t\t\trc = 0;\n" "+\t\t\tbreak;\n" @@ -377,7 +377,7 @@ "+\n" "+\tmutex_unlock(&vcpu->kvm->lock);\n" "+\n" - "+\tif (rc = 0) {\n" + "+\tif (rc == 0) {\n" "+\t\targs.rets = orig_rets;\n" "+\t\trc = kvm_write_guest(vcpu->kvm, args_phys, &args, sizeof(args));\n" "+\t\tif (rc)\n" @@ -464,4 +464,4 @@ "-- \n" 1.7.10.4 -055946e01ded52fd323035b40d6075e55be489b70341c3e2a66a6016ae434ad7 +cf54ba25503e2ad88dfec22859fd3248a7ae301b56f3b3423c4051ff2b490149
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.