All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200414214011.2699-4-will@kernel.org>

diff --git a/a/1.txt b/N1/1.txt
index 4094ed6..3159acf 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -92,8 +92,8 @@ index 50da4bcdd6fa..c861c0f0df73 100644
 +	pte_t *ptep;
  	struct page *page;
  
--	if ((pte = (unsigned long)pte_alloc_one_kernel(mm)) = 0)
-+	if ((ptep = pte_alloc_one_kernel(mm)) = 0)
+-	if ((pte = (unsigned long)pte_alloc_one_kernel(mm)) == 0)
++	if ((ptep = pte_alloc_one_kernel(mm)) == 0)
  		return NULL;
 -	page = pfn_to_page(__nocache_pa(pte) >> PAGE_SHIFT);
 +	page = pfn_to_page(__nocache_pa((unsigned long)ptep) >> PAGE_SHIFT);
@@ -112,7 +112,7 @@ index 50da4bcdd6fa..c861c0f0df73 100644
 -
 -	pgtable_pte_page_dtor(pte);
 -	p = (unsigned long)page_address(pte);	/* Cached address (for test) */
--	if (p = 0)
+-	if (p == 0)
 -		BUG();
 -	p = page_to_pfn(pte) << PAGE_SHIFT;	/* Physical address */
 +	struct page *page;
diff --git a/a/content_digest b/N1/content_digest
index e16f08b..d45d9fc 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020200414214011.2699-1-will@kernel.org\0"
  "From\0Will Deacon <will@kernel.org>\0"
  "Subject\0[RESEND PATCH 3/4] sparc32: mm: Change pgtable_t type to pte_t * instead of struct page *\0"
- "Date\0Tue, 14 Apr 2020 21:40:10 +0000\0"
+ "Date\0Tue, 14 Apr 2020 22:40:10 +0100\0"
  "To\0linux-kernel@vger.kernel.org\0"
  "Cc\0Will Deacon <will@kernel.org>"
   David S. Miller <davem@davemloft.net>
@@ -106,8 +106,8 @@
  "+\tpte_t *ptep;\n"
  " \tstruct page *page;\n"
  " \n"
- "-\tif ((pte = (unsigned long)pte_alloc_one_kernel(mm)) = 0)\n"
- "+\tif ((ptep = pte_alloc_one_kernel(mm)) = 0)\n"
+ "-\tif ((pte = (unsigned long)pte_alloc_one_kernel(mm)) == 0)\n"
+ "+\tif ((ptep = pte_alloc_one_kernel(mm)) == 0)\n"
  " \t\treturn NULL;\n"
  "-\tpage = pfn_to_page(__nocache_pa(pte) >> PAGE_SHIFT);\n"
  "+\tpage = pfn_to_page(__nocache_pa((unsigned long)ptep) >> PAGE_SHIFT);\n"
@@ -126,7 +126,7 @@
  "-\n"
  "-\tpgtable_pte_page_dtor(pte);\n"
  "-\tp = (unsigned long)page_address(pte);\t/* Cached address (for test) */\n"
- "-\tif (p = 0)\n"
+ "-\tif (p == 0)\n"
  "-\t\tBUG();\n"
  "-\tp = page_to_pfn(pte) << PAGE_SHIFT;\t/* Physical address */\n"
  "+\tstruct page *page;\n"
@@ -142,4 +142,4 @@
  "-- \n"
  2.26.0.110.g2183baf09c-goog
 
-92d02a16de11d76c0c6e9800253d827ce3e149e5a8fa09ad946586e6166c7014
+b623dea78273320d402c766071ce09818b40249b05d3e73823c2a71a172db6e8

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.