diff for duplicates of <20200627081653.25311-3-rppt@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 4b2e816..6a49293 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -45,7 +45,7 @@ index f5fa07958f34..da4e10b4cb37 100644 + if (pud_none(*__nocache_fix(pudp))) { pmdp = __srmmu_get_nocache( SRMMU_PMD_TABLE_SIZE, SRMMU_PMD_TABLE_SIZE); - if (pmdp = NULL) + if (pmdp == NULL) @@ -698,7 +698,7 @@ static void __init srmmu_early_allocate_ptable_skeleton(unsigned long start, pud_set(__nocache_fix(pudp), pmdp); } @@ -53,12 +53,12 @@ index f5fa07958f34..da4e10b4cb37 100644 - if (srmmu_pmd_none(*(pmd_t *)__nocache_fix(pmdp))) { + if (srmmu_pmd_none(*__nocache_fix(pmdp))) { ptep = __srmmu_get_nocache(PTE_SIZE, PTE_SIZE); - if (ptep = NULL) + if (ptep == NULL) early_pgtable_allocfail("pte"); @@ -810,11 +810,11 @@ static void __init srmmu_inherit_prom_mappings(unsigned long start, p4dp = p4d_offset(pgdp, start); pudp = pud_offset(p4dp, start); - if (what = 2) { + if (what == 2) { - *(pgd_t *)__nocache_fix(pgdp) = __pgd(probed); + *__nocache_fix(pgdp) = __pgd(probed); start += PGDIR_SIZE; @@ -68,7 +68,7 @@ index f5fa07958f34..da4e10b4cb37 100644 + if (pud_none(*__nocache_fix(pudp))) { pmdp = __srmmu_get_nocache(SRMMU_PMD_TABLE_SIZE, SRMMU_PMD_TABLE_SIZE); - if (pmdp = NULL) + if (pmdp == NULL) @@ -828,7 +828,7 @@ static void __init srmmu_inherit_prom_mappings(unsigned long start, start += PMD_SIZE; continue; @@ -76,7 +76,7 @@ index f5fa07958f34..da4e10b4cb37 100644 - if (srmmu_pmd_none(*(pmd_t *)__nocache_fix(pmdp))) { + if (srmmu_pmd_none(*__nocache_fix(pmdp))) { ptep = __srmmu_get_nocache(PTE_SIZE, PTE_SIZE); - if (ptep = NULL) + if (ptep == NULL) early_pgtable_allocfail("pte"); @@ -836,7 +836,7 @@ static void __init srmmu_inherit_prom_mappings(unsigned long start, pmd_set(__nocache_fix(pmdp), ptep); diff --git a/a/content_digest b/N1/content_digest index 4f7d916..439ea60 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020200627081653.25311-1-rppt@kernel.org\0" "From\0Mike Rapoport <rppt@kernel.org>\0" "Subject\0[PATCH v2 2/2] sparc32: srmmu: improve type safety of __nocache_fix()\0" - "Date\0Sat, 27 Jun 2020 08:16:53 +0000\0" + "Date\0Sat, 27 Jun 2020 11:16:53 +0300\0" "To\0sparclinux@vger.kernel.org\0" "Cc\0David Miller <davem@davemloft.net>" Linus Torvalds <torvalds@linux-foundation.org> @@ -57,7 +57,7 @@ "+\t\tif (pud_none(*__nocache_fix(pudp))) {\n" " \t\t\tpmdp = __srmmu_get_nocache(\n" " \t\t\t SRMMU_PMD_TABLE_SIZE, SRMMU_PMD_TABLE_SIZE);\n" - " \t\t\tif (pmdp = NULL)\n" + " \t\t\tif (pmdp == NULL)\n" "@@ -698,7 +698,7 @@ static void __init srmmu_early_allocate_ptable_skeleton(unsigned long start,\n" " \t\t\tpud_set(__nocache_fix(pudp), pmdp);\n" " \t\t}\n" @@ -65,12 +65,12 @@ "-\t\tif (srmmu_pmd_none(*(pmd_t *)__nocache_fix(pmdp))) {\n" "+\t\tif (srmmu_pmd_none(*__nocache_fix(pmdp))) {\n" " \t\t\tptep = __srmmu_get_nocache(PTE_SIZE, PTE_SIZE);\n" - " \t\t\tif (ptep = NULL)\n" + " \t\t\tif (ptep == NULL)\n" " \t\t\t\tearly_pgtable_allocfail(\"pte\");\n" "@@ -810,11 +810,11 @@ static void __init srmmu_inherit_prom_mappings(unsigned long start,\n" " \t\tp4dp = p4d_offset(pgdp, start);\n" " \t\tpudp = pud_offset(p4dp, start);\n" - " \t\tif (what = 2) {\n" + " \t\tif (what == 2) {\n" "-\t\t\t*(pgd_t *)__nocache_fix(pgdp) = __pgd(probed);\n" "+\t\t\t*__nocache_fix(pgdp) = __pgd(probed);\n" " \t\t\tstart += PGDIR_SIZE;\n" @@ -80,7 +80,7 @@ "+\t\tif (pud_none(*__nocache_fix(pudp))) {\n" " \t\t\tpmdp = __srmmu_get_nocache(SRMMU_PMD_TABLE_SIZE,\n" " \t\t\t\t\t\t SRMMU_PMD_TABLE_SIZE);\n" - " \t\t\tif (pmdp = NULL)\n" + " \t\t\tif (pmdp == NULL)\n" "@@ -828,7 +828,7 @@ static void __init srmmu_inherit_prom_mappings(unsigned long start,\n" " \t\t\tstart += PMD_SIZE;\n" " \t\t\tcontinue;\n" @@ -88,7 +88,7 @@ "-\t\tif (srmmu_pmd_none(*(pmd_t *)__nocache_fix(pmdp))) {\n" "+\t\tif (srmmu_pmd_none(*__nocache_fix(pmdp))) {\n" " \t\t\tptep = __srmmu_get_nocache(PTE_SIZE, PTE_SIZE);\n" - " \t\t\tif (ptep = NULL)\n" + " \t\t\tif (ptep == NULL)\n" " \t\t\t\tearly_pgtable_allocfail(\"pte\");\n" "@@ -836,7 +836,7 @@ static void __init srmmu_inherit_prom_mappings(unsigned long start,\n" " \t\t\tpmd_set(__nocache_fix(pmdp), ptep);\n" @@ -120,4 +120,4 @@ "-- \n" 2.26.2 -ac90d66a0bb1979214e14b7d30bc956262c7912afc77c45a9d09be46a65842bf +46d79ba978f590a7148894573f43634dbb0af1984953702430b8b699a28ccf24
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.