diff for duplicates of <20191006085646.5768-10-david@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 2b602ac..5bdf4ea 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,8 +27,8 @@ index 8dafa1ba8d9f..843481bd507d 100644 int nid = zone_to_nid(zone); zone_span_writelock(zone); -- if (zone_start_pfn = start_pfn) { -+ if (zone->zone_start_pfn = start_pfn) { +- if (zone_start_pfn == start_pfn) { ++ if (zone->zone_start_pfn == start_pfn) { /* * If the section is smallest section in the zone, it need * shrink zone->zone_start_pfn and zone->zone_spanned_pages. @@ -46,8 +46,8 @@ index 8dafa1ba8d9f..843481bd507d 100644 zone->zone_start_pfn = 0; zone->spanned_pages = 0; } -- } else if (zone_end_pfn = end_pfn) { -+ } else if (zone_end_pfn(zone) = end_pfn) { +- } else if (zone_end_pfn == end_pfn) { ++ } else if (zone_end_pfn(zone) == end_pfn) { /* * If the section is biggest section in the zone, it need * shrink zone->spanned_pages. diff --git a/a/content_digest b/N1/content_digest index 101f0e9..94e1e79 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,22 +1,22 @@ "ref\020191006085646.5768-1-david@redhat.com\0" "From\0David Hildenbrand <david@redhat.com>\0" "Subject\0[PATCH v6 09/10] mm/memory_hotplug: Drop local variables in shrink_zone_span()\0" - "Date\0Sun, 06 Oct 2019 08:56:45 +0000\0" + "Date\0Sun, 6 Oct 2019 10:56:45 +0200\0" "To\0linux-kernel@vger.kernel.org\0" - "Cc\0linux-s390@vger.kernel.org" - Michal Hocko <mhocko@suse.com> + "Cc\0linux-mm@kvack.org" + linux-arm-kernel@lists.infradead.org linux-ia64@vger.kernel.org - Pavel Tatashin <pasha.tatashin@soleen.com> + linuxppc-dev@lists.ozlabs.org + linux-s390@vger.kernel.org linux-sh@vger.kernel.org x86@kernel.org David Hildenbrand <david@redhat.com> - linux-mm@kvack.org - Wei Yang <richardw.yang@linux.intel.com> Andrew Morton <akpm@linux-foundation.org> - linuxppc-dev@lists.ozlabs.org + Oscar Salvador <osalvador@suse.de> + Michal Hocko <mhocko@suse.com> + Pavel Tatashin <pasha.tatashin@soleen.com> Dan Williams <dan.j.williams@intel.com> - linux-arm-kernel@lists.infradead.org - " Oscar Salvador <osalvador@suse.de>\0" + " Wei Yang <richardw.yang@linux.intel.com>\0" "\00:1\0" "b\0" "Get rid of the unnecessary local variables.\n" @@ -48,8 +48,8 @@ " \tint nid = zone_to_nid(zone);\n" " \n" " \tzone_span_writelock(zone);\n" - "-\tif (zone_start_pfn = start_pfn) {\n" - "+\tif (zone->zone_start_pfn = start_pfn) {\n" + "-\tif (zone_start_pfn == start_pfn) {\n" + "+\tif (zone->zone_start_pfn == start_pfn) {\n" " \t\t/*\n" " \t\t * If the section is smallest section in the zone, it need\n" " \t\t * shrink zone->zone_start_pfn and zone->zone_spanned_pages.\n" @@ -67,8 +67,8 @@ " \t\t\tzone->zone_start_pfn = 0;\n" " \t\t\tzone->spanned_pages = 0;\n" " \t\t}\n" - "-\t} else if (zone_end_pfn = end_pfn) {\n" - "+\t} else if (zone_end_pfn(zone) = end_pfn) {\n" + "-\t} else if (zone_end_pfn == end_pfn) {\n" + "+\t} else if (zone_end_pfn(zone) == end_pfn) {\n" " \t\t/*\n" " \t\t * If the section is biggest section in the zone, it need\n" " \t\t * shrink zone->spanned_pages.\n" @@ -87,4 +87,4 @@ "-- \n" 2.21.0 -6c8a5cd5aebe4b051d0c747bf03fcdcacd98cece0b540df13dda1b827f074814 +93ef3b25127bcf19d0c58669ce24c1e8bcc4c8e51249ae706b1f5e034a8f54b1
diff --git a/a/1.txt b/N2/1.txt index 2b602ac..5bdf4ea 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -27,8 +27,8 @@ index 8dafa1ba8d9f..843481bd507d 100644 int nid = zone_to_nid(zone); zone_span_writelock(zone); -- if (zone_start_pfn = start_pfn) { -+ if (zone->zone_start_pfn = start_pfn) { +- if (zone_start_pfn == start_pfn) { ++ if (zone->zone_start_pfn == start_pfn) { /* * If the section is smallest section in the zone, it need * shrink zone->zone_start_pfn and zone->zone_spanned_pages. @@ -46,8 +46,8 @@ index 8dafa1ba8d9f..843481bd507d 100644 zone->zone_start_pfn = 0; zone->spanned_pages = 0; } -- } else if (zone_end_pfn = end_pfn) { -+ } else if (zone_end_pfn(zone) = end_pfn) { +- } else if (zone_end_pfn == end_pfn) { ++ } else if (zone_end_pfn(zone) == end_pfn) { /* * If the section is biggest section in the zone, it need * shrink zone->spanned_pages. diff --git a/a/content_digest b/N2/content_digest index 101f0e9..3276107 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,7 +1,7 @@ "ref\020191006085646.5768-1-david@redhat.com\0" "From\0David Hildenbrand <david@redhat.com>\0" "Subject\0[PATCH v6 09/10] mm/memory_hotplug: Drop local variables in shrink_zone_span()\0" - "Date\0Sun, 06 Oct 2019 08:56:45 +0000\0" + "Date\0Sun, 6 Oct 2019 10:56:45 +0200\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0linux-s390@vger.kernel.org" Michal Hocko <mhocko@suse.com> @@ -48,8 +48,8 @@ " \tint nid = zone_to_nid(zone);\n" " \n" " \tzone_span_writelock(zone);\n" - "-\tif (zone_start_pfn = start_pfn) {\n" - "+\tif (zone->zone_start_pfn = start_pfn) {\n" + "-\tif (zone_start_pfn == start_pfn) {\n" + "+\tif (zone->zone_start_pfn == start_pfn) {\n" " \t\t/*\n" " \t\t * If the section is smallest section in the zone, it need\n" " \t\t * shrink zone->zone_start_pfn and zone->zone_spanned_pages.\n" @@ -67,8 +67,8 @@ " \t\t\tzone->zone_start_pfn = 0;\n" " \t\t\tzone->spanned_pages = 0;\n" " \t\t}\n" - "-\t} else if (zone_end_pfn = end_pfn) {\n" - "+\t} else if (zone_end_pfn(zone) = end_pfn) {\n" + "-\t} else if (zone_end_pfn == end_pfn) {\n" + "+\t} else if (zone_end_pfn(zone) == end_pfn) {\n" " \t\t/*\n" " \t\t * If the section is biggest section in the zone, it need\n" " \t\t * shrink zone->spanned_pages.\n" @@ -87,4 +87,4 @@ "-- \n" 2.21.0 -6c8a5cd5aebe4b051d0c747bf03fcdcacd98cece0b540df13dda1b827f074814 +b2d18b99f6267322016274a0b4fb16c5c6520b961a00f4f983b318bb6df0209f
diff --git a/a/1.txt b/N3/1.txt index 2b602ac..07273fe 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -27,8 +27,8 @@ index 8dafa1ba8d9f..843481bd507d 100644 int nid = zone_to_nid(zone); zone_span_writelock(zone); -- if (zone_start_pfn = start_pfn) { -+ if (zone->zone_start_pfn = start_pfn) { +- if (zone_start_pfn == start_pfn) { ++ if (zone->zone_start_pfn == start_pfn) { /* * If the section is smallest section in the zone, it need * shrink zone->zone_start_pfn and zone->zone_spanned_pages. @@ -46,8 +46,8 @@ index 8dafa1ba8d9f..843481bd507d 100644 zone->zone_start_pfn = 0; zone->spanned_pages = 0; } -- } else if (zone_end_pfn = end_pfn) { -+ } else if (zone_end_pfn(zone) = end_pfn) { +- } else if (zone_end_pfn == end_pfn) { ++ } else if (zone_end_pfn(zone) == end_pfn) { /* * If the section is biggest section in the zone, it need * shrink zone->spanned_pages. @@ -65,3 +65,9 @@ index 8dafa1ba8d9f..843481bd507d 100644 zone->spanned_pages = 0; -- 2.21.0 + + +_______________________________________________ +linux-arm-kernel mailing list +linux-arm-kernel@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/a/content_digest b/N3/content_digest index 101f0e9..8e6e1ae 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,7 +1,7 @@ "ref\020191006085646.5768-1-david@redhat.com\0" "From\0David Hildenbrand <david@redhat.com>\0" "Subject\0[PATCH v6 09/10] mm/memory_hotplug: Drop local variables in shrink_zone_span()\0" - "Date\0Sun, 06 Oct 2019 08:56:45 +0000\0" + "Date\0Sun, 6 Oct 2019 10:56:45 +0200\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0linux-s390@vger.kernel.org" Michal Hocko <mhocko@suse.com> @@ -48,8 +48,8 @@ " \tint nid = zone_to_nid(zone);\n" " \n" " \tzone_span_writelock(zone);\n" - "-\tif (zone_start_pfn = start_pfn) {\n" - "+\tif (zone->zone_start_pfn = start_pfn) {\n" + "-\tif (zone_start_pfn == start_pfn) {\n" + "+\tif (zone->zone_start_pfn == start_pfn) {\n" " \t\t/*\n" " \t\t * If the section is smallest section in the zone, it need\n" " \t\t * shrink zone->zone_start_pfn and zone->zone_spanned_pages.\n" @@ -67,8 +67,8 @@ " \t\t\tzone->zone_start_pfn = 0;\n" " \t\t\tzone->spanned_pages = 0;\n" " \t\t}\n" - "-\t} else if (zone_end_pfn = end_pfn) {\n" - "+\t} else if (zone_end_pfn(zone) = end_pfn) {\n" + "-\t} else if (zone_end_pfn == end_pfn) {\n" + "+\t} else if (zone_end_pfn(zone) == end_pfn) {\n" " \t\t/*\n" " \t\t * If the section is biggest section in the zone, it need\n" " \t\t * shrink zone->spanned_pages.\n" @@ -85,6 +85,12 @@ " \t\t\tzone->zone_start_pfn = 0;\n" " \t\t\tzone->spanned_pages = 0;\n" "-- \n" - 2.21.0 + "2.21.0\n" + "\n" + "\n" + "_______________________________________________\n" + "linux-arm-kernel mailing list\n" + "linux-arm-kernel@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -6c8a5cd5aebe4b051d0c747bf03fcdcacd98cece0b540df13dda1b827f074814 +fa7e2dfd8aca44dff0ef09912538640f5d4ee79933a06c91265099d12a9d417b
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.