diff for duplicates of <5417EFFA.3090804@huawei.com> diff --git a/a/1.txt b/N1/1.txt index 84b4279..3a87cf6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -30,9 +30,9 @@ Fine, thanks for your explanation. >>> + struct acpi_dmar_header *iter, *next; >>> + struct acpi_dmar_header *end = ((void *)start) + len; >>> + ->>> + for (iter = start; iter < end && ret = 0; iter = next) { +>>> + for (iter = start; iter < end && ret == 0; iter = next) { >>> + next = (void *)iter + iter->length; ->>> + if (iter->length = 0) { +>>> + if (iter->length == 0) { >>> + /* Avoid looping forever on bad ACPI tables */ >>> + pr_debug(FW_BUG "Invalid 0-length structure\n"); >> diff --git a/a/content_digest b/N1/content_digest index b15f6d3..fb876ad 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,24 +2,24 @@ "ref\01410487848-6027-2-git-send-email-jiang.liu@linux.intel.com\0" "ref\05412B9EE.3070708@huawei.com\0" "ref\05417E322.9090201@linux.intel.com\0" - "From\0Yijing Wang <wangyijing@huawei.com>\0" + "ref\05417E322.9090201-VuQAYsv1563Yd54FQh9/CA@public.gmane.org\0" + "From\0Yijing Wang <wangyijing-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>\0" "Subject\0Re: [Patch Part3 V5 1/8] iommu/vt-d: Introduce helper function dmar_walk_resources()\0" - "Date\0Tue, 16 Sep 2014 08:08:26 +0000\0" - "To\0Jiang Liu <jiang.liu@linux.intel.com>" - Joerg Roedel <joro@8bytes.org> - David Woodhouse <dwmw2@infradead.org> - Yinghai Lu <yinghai@kernel.org> - Bjorn Helgaas <bhelgaas@google.com> - Dan Williams <dan.j.williams@intel.com> - Vinod Koul <vinod.koul@intel.com> - " Rafael J . Wysocki <rafael.j.wysocki@intel.com>\0" - "Cc\0Ashok Raj <ashok.raj@intel.com>" - Tony Luck <tony.luck@intel.com> - iommu@lists.linux-foundation.org - linux-pci@vger.kernel.org - linux-hotplug@vger.kernel.org - linux-kernel@vger.kernel.org - " dmaengine@vger.kernel.org\0" + "Date\0Tue, 16 Sep 2014 16:08:26 +0800\0" + "To\0Jiang Liu <jiang.liu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>" + Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org> + David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> + Yinghai Lu <yinghai-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> + Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> + Dan Williams <dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> + Vinod Koul <vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> + " Rafael J . Wysocki <rafael.j.wysocki-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>\0" + "Cc\0Tony Luck <tony.luck-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>" + linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-hotplug-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org + " dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" "\00:1\0" "b\0" ">>> #include \"irq_remapping.h\"\n" @@ -54,9 +54,9 @@ ">>> +\tstruct acpi_dmar_header *iter, *next;\n" ">>> +\tstruct acpi_dmar_header *end = ((void *)start) + len;\n" ">>> +\n" - ">>> +\tfor (iter = start; iter < end && ret = 0; iter = next) {\n" + ">>> +\tfor (iter = start; iter < end && ret == 0; iter = next) {\n" ">>> +\t\tnext = (void *)iter + iter->length;\n" - ">>> +\t\tif (iter->length = 0) {\n" + ">>> +\t\tif (iter->length == 0) {\n" ">>> +\t\t\t/* Avoid looping forever on bad ACPI tables */\n" ">>> +\t\t\tpr_debug(FW_BUG \"Invalid 0-length structure\\n\");\n" ">>\n" @@ -99,4 +99,4 @@ ">>> +\t\t} else if (!cb->ignore_unhandled) {\n" ">>> +\t\t\tpr_warn(\"No handler for DMAR structure type %d\\n\"," -281980b057adf18204d99866bf652a161f29179c04ceb07fef5f4da8f6ba333f +efd55ed076483349c0b325347e819e795a6399c1c434e2de4cb7023158fd71fb
diff --git a/a/1.txt b/N2/1.txt index 84b4279..3a87cf6 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -30,9 +30,9 @@ Fine, thanks for your explanation. >>> + struct acpi_dmar_header *iter, *next; >>> + struct acpi_dmar_header *end = ((void *)start) + len; >>> + ->>> + for (iter = start; iter < end && ret = 0; iter = next) { +>>> + for (iter = start; iter < end && ret == 0; iter = next) { >>> + next = (void *)iter + iter->length; ->>> + if (iter->length = 0) { +>>> + if (iter->length == 0) { >>> + /* Avoid looping forever on bad ACPI tables */ >>> + pr_debug(FW_BUG "Invalid 0-length structure\n"); >> diff --git a/a/content_digest b/N2/content_digest index b15f6d3..8d9b6d6 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,7 +4,7 @@ "ref\05417E322.9090201@linux.intel.com\0" "From\0Yijing Wang <wangyijing@huawei.com>\0" "Subject\0Re: [Patch Part3 V5 1/8] iommu/vt-d: Introduce helper function dmar_walk_resources()\0" - "Date\0Tue, 16 Sep 2014 08:08:26 +0000\0" + "Date\0Tue, 16 Sep 2014 16:08:26 +0800\0" "To\0Jiang Liu <jiang.liu@linux.intel.com>" Joerg Roedel <joro@8bytes.org> David Woodhouse <dwmw2@infradead.org> @@ -15,11 +15,11 @@ " Rafael J . Wysocki <rafael.j.wysocki@intel.com>\0" "Cc\0Ashok Raj <ashok.raj@intel.com>" Tony Luck <tony.luck@intel.com> - iommu@lists.linux-foundation.org - linux-pci@vger.kernel.org - linux-hotplug@vger.kernel.org - linux-kernel@vger.kernel.org - " dmaengine@vger.kernel.org\0" + <iommu@lists.linux-foundation.org> + <linux-pci@vger.kernel.org> + <linux-hotplug@vger.kernel.org> + <linux-kernel@vger.kernel.org> + " <dmaengine@vger.kernel.org>\0" "\00:1\0" "b\0" ">>> #include \"irq_remapping.h\"\n" @@ -54,9 +54,9 @@ ">>> +\tstruct acpi_dmar_header *iter, *next;\n" ">>> +\tstruct acpi_dmar_header *end = ((void *)start) + len;\n" ">>> +\n" - ">>> +\tfor (iter = start; iter < end && ret = 0; iter = next) {\n" + ">>> +\tfor (iter = start; iter < end && ret == 0; iter = next) {\n" ">>> +\t\tnext = (void *)iter + iter->length;\n" - ">>> +\t\tif (iter->length = 0) {\n" + ">>> +\t\tif (iter->length == 0) {\n" ">>> +\t\t\t/* Avoid looping forever on bad ACPI tables */\n" ">>> +\t\t\tpr_debug(FW_BUG \"Invalid 0-length structure\\n\");\n" ">>\n" @@ -99,4 +99,4 @@ ">>> +\t\t} else if (!cb->ignore_unhandled) {\n" ">>> +\t\t\tpr_warn(\"No handler for DMAR structure type %d\\n\"," -281980b057adf18204d99866bf652a161f29179c04ceb07fef5f4da8f6ba333f +c4d18e7ad3ce668b93b73f4e65870ff0f70ae0351eadadd3461110f26d9a3a27
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.