diff for duplicates of <20130418063000.GB25033@drongo> diff --git a/a/1.txt b/N1/1.txt index 7a24175..a6e970e 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 236c37c..2f9dcaf 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020130418062926.GA25033@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, 18 Apr 2013 06:30:00 +0000\0" + "Date\0Thu, 18 Apr 2013 16:30:00 +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 -5c89880286563fd03d014bbb8c77e4f4cfd70c43d4feb97758c2a8645fe0160f +779f1e32221b905eb5888eeb033262ed3a2baa9b3e1f15b2c2922f4449e9b396
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.