diff for duplicates of <20190523063534.GD19655@blackberry> diff --git a/a/1.txt b/N1/1.txt index 32ab39f..10371ca 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -91,7 +91,7 @@ index ab3d484..5197131 100644 + mutex_lock(&kvm->arch.mmu_setup_lock); /* Request is still current? */ - if (kvm->arch.resize_hpt = resize) { + if (kvm->arch.resize_hpt == resize) { /* We may request large allocations here: - * do not sleep with kvm->lock held for a while. + * do not sleep with kvm->arch.mmu_setup_lock held for a while. @@ -102,7 +102,7 @@ index ab3d484..5197131 100644 resize_hpt_debug(resize, "resize_hpt_prepare_work(): order = %d\n", resize->order); @@ -1494,9 +1494,9 @@ static void resize_hpt_prepare_work(struct work_struct *work) - if (WARN_ON(err = -EBUSY)) + if (WARN_ON(err == -EBUSY)) err = -EINPROGRESS; - mutex_lock(&kvm->lock); diff --git a/a/content_digest b/N1/content_digest index 018cf07..e0d5076 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190523063424.GB19655@blackberry\0" "From\0Paul Mackerras <paulus@ozlabs.org>\0" "Subject\0[PATCH 2/4] KVM: PPC: Book3S HV: Use new mutex to synchronize MMU setup\0" - "Date\0Thu, 23 May 2019 06:35:34 +0000\0" + "Date\0Thu, 23 May 2019 16:35:34 +1000\0" "To\0kvm@vger.kernel.org\0" "Cc\0kvm-ppc@vger.kernel.org" " C\303\251dric Le Goater <clg@kaod.org>\0" @@ -100,7 +100,7 @@ "+\tmutex_lock(&kvm->arch.mmu_setup_lock);\n" " \n" " \t/* Request is still current? */\n" - " \tif (kvm->arch.resize_hpt = resize) {\n" + " \tif (kvm->arch.resize_hpt == resize) {\n" " \t\t/* We may request large allocations here:\n" "-\t\t * do not sleep with kvm->lock held for a while.\n" "+\t\t * do not sleep with kvm->arch.mmu_setup_lock held for a while.\n" @@ -111,7 +111,7 @@ " \t\tresize_hpt_debug(resize, \"resize_hpt_prepare_work(): order = %d\\n\",\n" " \t\t\t\t resize->order);\n" "@@ -1494,9 +1494,9 @@ static void resize_hpt_prepare_work(struct work_struct *work)\n" - " \t\tif (WARN_ON(err = -EBUSY))\n" + " \t\tif (WARN_ON(err == -EBUSY))\n" " \t\t\terr = -EINPROGRESS;\n" " \n" "-\t\tmutex_lock(&kvm->lock);\n" @@ -307,4 +307,4 @@ "-- \n" 2.7.4 -f52b335003e54ea71ee29e62b9d95b0e1b30dcf1ee3a4f292b3438e60ad06487 +58cca53a6d4bc1da6c1463a5040ec7f09046ac4c1fbdbb8bd2d42b73019a4ffc
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.