diff for duplicates of <20150206095953.GA5780@sloth> diff --git a/a/1.txt b/N1/1.txt index b9ff4a6..0ac555a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -45,10 +45,12 @@ f(...) { - int xname; <... ( - x - 1 + x = +- 1 + true | - x - -1 + x = +- -1 + false ) ...> @@ -92,8 +94,8 @@ index ae4c1a8..d25cc62 100644 struct pci_dev *pdev; @@ -1282,7 +1283,7 @@ iommu_support_dev_iotlb (struct dmar_domain *domain, struct intel_iommu *iommu, list_for_each_entry(info, &domain->devices, link) - if (info->iommu = iommu && info->bus = bus && - info->devfn = devfn) { + if (info->iommu == iommu && info->bus == bus && + info->devfn == devfn) { - found = 1; + found = true; break; @@ -111,7 +113,7 @@ index ae4c1a8..d25cc62 100644 @@ -4302,7 +4303,7 @@ static void domain_remove_one_dev_info(struct dmar_domain *domain, * update iommu count and coherency */ - if (info->iommu = iommu) + if (info->iommu == iommu) - found = 1; + found = true; } diff --git a/a/content_digest b/N1/content_digest index c88e99a..8a256a6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Quentin Lambert <lambert.quentin@gmail.com>\0" "Subject\0[PATCH 1/1] iommu/vt-d: Convert non-returned local variable to boolean when relevant\0" - "Date\0Fri, 06 Feb 2015 09:59:53 +0000\0" + "Date\0Fri, 6 Feb 2015 10:59:53 +0100\0" "To\0David Woodhouse <dwmw2@infradead.org>" " Joerg Roedel <joro@8bytes.org>\0" "Cc\0kernel-janitors@vger.kernel.org" @@ -55,10 +55,12 @@ "- int xname;\n" "<...\n" "(\n" - " x - 1\n" + " x =\n" + "- 1\n" "+ true\n" "|\n" - " x - -1\n" + " x =\n" + "- -1\n" "+ false\n" ")\n" "...>\n" @@ -102,8 +104,8 @@ " \tstruct pci_dev *pdev;\n" "@@ -1282,7 +1283,7 @@ iommu_support_dev_iotlb (struct dmar_domain *domain, struct intel_iommu *iommu,\n" " \tlist_for_each_entry(info, &domain->devices, link)\n" - " \t\tif (info->iommu = iommu && info->bus = bus &&\n" - " \t\t info->devfn = devfn) {\n" + " \t\tif (info->iommu == iommu && info->bus == bus &&\n" + " \t\t info->devfn == devfn) {\n" "-\t\t\tfound = 1;\n" "+\t\t\tfound = true;\n" " \t\t\tbreak;\n" @@ -121,7 +123,7 @@ "@@ -4302,7 +4303,7 @@ static void domain_remove_one_dev_info(struct dmar_domain *domain,\n" " \t\t * update iommu count and coherency\n" " \t\t */\n" - " \t\tif (info->iommu = iommu)\n" + " \t\tif (info->iommu == iommu)\n" "-\t\t\tfound = 1;\n" "+\t\t\tfound = true;\n" " \t}\n" @@ -188,4 +190,4 @@ "-- \n" 1.9.1 -cd37159e10ee001476d5d0ee2265820d14600aa637db38785c1daff0f217e1d0 +a579b936d5d92bfc9ad6f331fc5754f10cdc1918c43276890ffb1894e10e9873
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.