diff for duplicates of <524F894E.9060702@ozlabs.ru> diff --git a/a/1.txt b/N1/1.txt index 473bf01..93cdbab 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -180,7 +180,7 @@ that correct? Or we need a third header? Just asking, no kidding, no arguing :) >>> + fdput(f); >>> + >>> + list_for_each_entry(kvg, &kv->group_list, node) { ->>> + if (kvg->vfio_group = vfio_group) { +>>> + if (kvg->vfio_group == vfio_group) { >>> + WARN_ON(kvg->liobn); >> >> Users shouldn't be able to trigger WARN_ON so easily, return -EBUSY, @@ -281,7 +281,7 @@ that correct? Or we need a third header? Just asking, no kidding, no arguing :) >>> + return NULL; >>> + >>> + list_for_each_entry(kvg, &kvm->vfio->group_list, node) { ->>> + if (kvg->liobn = liobn) +>>> + if (kvg->liobn == liobn) >>> + return kvg->vfio_group->iommu_group; >>> + } >>> + diff --git a/a/content_digest b/N1/content_digest index b09b602..2872f44 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,11 +4,11 @@ "ref\0524F70D0.4050502@ozlabs.ru\0" "From\0Alexey Kardashevskiy <aik@ozlabs.ru>\0" "Subject\0Re: [RFC PATCH] PPC: KVM: vfio kvm device: support spapr tce\0" - "Date\0Sat, 05 Oct 2013 03:36:46 +0000\0" + "Date\0Sat, 05 Oct 2013 13:36:46 +1000\0" "To\0Alex Williamson <alex.williamson@redhat.com>\0" "Cc\0linuxppc-dev@lists.ozlabs.org" - kvm@vger.kernel.org kvm-ppc@vger.kernel.org + kvm@vger.kernel.org " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" @@ -194,7 +194,7 @@ ">>> +\tfdput(f);\n" ">>> +\n" ">>> +\tlist_for_each_entry(kvg, &kv->group_list, node) {\n" - ">>> +\t\tif (kvg->vfio_group = vfio_group) {\n" + ">>> +\t\tif (kvg->vfio_group == vfio_group) {\n" ">>> +\t\t\tWARN_ON(kvg->liobn);\n" ">>\n" ">> Users shouldn't be able to trigger WARN_ON so easily, return -EBUSY,\n" @@ -295,7 +295,7 @@ ">>> +\t\treturn NULL;\n" ">>> +\n" ">>> +\tlist_for_each_entry(kvg, &kvm->vfio->group_list, node) {\n" - ">>> +\t\tif (kvg->liobn = liobn)\n" + ">>> +\t\tif (kvg->liobn == liobn)\n" ">>> +\t\t\treturn kvg->vfio_group->iommu_group;\n" ">>> +\t}\n" ">>> +\n" @@ -336,4 +336,4 @@ "-- \n" Alexey -2e112b379ce977c218f5ef2c5b7c8e2cb611ad3b289445f825e62ecd6c30a9f3 +cc9144604bf3f2a193a17af06b09795306871cfb434e42d4bff5343ca3efa6dc
diff --git a/a/1.txt b/N2/1.txt index 473bf01..93cdbab 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -180,7 +180,7 @@ that correct? Or we need a third header? Just asking, no kidding, no arguing :) >>> + fdput(f); >>> + >>> + list_for_each_entry(kvg, &kv->group_list, node) { ->>> + if (kvg->vfio_group = vfio_group) { +>>> + if (kvg->vfio_group == vfio_group) { >>> + WARN_ON(kvg->liobn); >> >> Users shouldn't be able to trigger WARN_ON so easily, return -EBUSY, @@ -281,7 +281,7 @@ that correct? Or we need a third header? Just asking, no kidding, no arguing :) >>> + return NULL; >>> + >>> + list_for_each_entry(kvg, &kvm->vfio->group_list, node) { ->>> + if (kvg->liobn = liobn) +>>> + if (kvg->liobn == liobn) >>> + return kvg->vfio_group->iommu_group; >>> + } >>> + diff --git a/a/content_digest b/N2/content_digest index b09b602..c4d0e18 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,7 +4,7 @@ "ref\0524F70D0.4050502@ozlabs.ru\0" "From\0Alexey Kardashevskiy <aik@ozlabs.ru>\0" "Subject\0Re: [RFC PATCH] PPC: KVM: vfio kvm device: support spapr tce\0" - "Date\0Sat, 05 Oct 2013 03:36:46 +0000\0" + "Date\0Sat, 05 Oct 2013 13:36:46 +1000\0" "To\0Alex Williamson <alex.williamson@redhat.com>\0" "Cc\0linuxppc-dev@lists.ozlabs.org" kvm@vger.kernel.org @@ -194,7 +194,7 @@ ">>> +\tfdput(f);\n" ">>> +\n" ">>> +\tlist_for_each_entry(kvg, &kv->group_list, node) {\n" - ">>> +\t\tif (kvg->vfio_group = vfio_group) {\n" + ">>> +\t\tif (kvg->vfio_group == vfio_group) {\n" ">>> +\t\t\tWARN_ON(kvg->liobn);\n" ">>\n" ">> Users shouldn't be able to trigger WARN_ON so easily, return -EBUSY,\n" @@ -295,7 +295,7 @@ ">>> +\t\treturn NULL;\n" ">>> +\n" ">>> +\tlist_for_each_entry(kvg, &kvm->vfio->group_list, node) {\n" - ">>> +\t\tif (kvg->liobn = liobn)\n" + ">>> +\t\tif (kvg->liobn == liobn)\n" ">>> +\t\t\treturn kvg->vfio_group->iommu_group;\n" ">>> +\t}\n" ">>> +\n" @@ -336,4 +336,4 @@ "-- \n" Alexey -2e112b379ce977c218f5ef2c5b7c8e2cb611ad3b289445f825e62ecd6c30a9f3 +5a7e311579fdc57240646ab6b2965afb484d7d9c1afef275bc0b4cb90fb68d26
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.