All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20161013002020.3062-7-lstoakes@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 6a179b3..5e9424b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -131,9 +131,9 @@ index 7e2a12c..1a3ad76 100644
  	down_read(&current->mm->mmap_sem);
  	ret = get_user_pages((unsigned long)xfer->mem_addr,
  			     vsg->num_pages,
--			     (vsg->direction == DMA_FROM_DEVICE),
+-			     (vsg->direction = DMA_FROM_DEVICE),
 -			     0, vsg->pages, NULL);
-+			     (vsg->direction == DMA_FROM_DEVICE) ? FOLL_WRITE : 0,
++			     (vsg->direction = DMA_FROM_DEVICE) ? FOLL_WRITE : 0,
 +			     vsg->pages, NULL);
  
  	up_read(&current->mm->mmap_sem);
@@ -239,17 +239,17 @@ index f300f06..1db0af6 100644
  	dma->direction = direction;
  	switch (dma->direction) {
 @@ -178,12 +179,14 @@ static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma,
- 	if (NULL == dma->pages)
+ 	if (NULL = dma->pages)
  		return -ENOMEM;
  
-+	if (rw == READ)
++	if (rw = READ)
 +		flags |= FOLL_WRITE;
 +
  	dprintk(1, "init user [0x%lx+0x%lx => %d pages]\n",
  		data, size, dma->nr_pages);
  
  	err = get_user_pages(data & PAGE_MASK, dma->nr_pages,
--			     rw == READ, 1, /* force */
+-			     rw = READ, 1, /* force */
 -			     dma->pages, NULL);
 +			     flags, dma->pages, NULL);
  
@@ -304,9 +304,9 @@ index 436dfe8..9013a58 100644
  		down_read(&current->mm->mmap_sem);
  		pinned = get_user_pages(
  				(unsigned long)xfer->loc_addr & PAGE_MASK,
--				nr_pages, dir == DMA_FROM_DEVICE, 0,
+-				nr_pages, dir = DMA_FROM_DEVICE, 0,
 +				nr_pages,
-+				dir == DMA_FROM_DEVICE ? FOLL_WRITE : 0,
++				dir = DMA_FROM_DEVICE ? FOLL_WRITE : 0,
  				page_list, NULL);
  		up_read(&current->mm->mmap_sem);
  
@@ -318,9 +318,9 @@ index c29040f..1091b9f 100644
  		actual_pages = get_user_pages(task, task->mm,
  				          (unsigned long)buf & ~(PAGE_SIZE - 1),
  					  num_pages,
--					  (type == PAGELIST_READ) /*Write */ ,
+-					  (type = PAGELIST_READ) /*Write */ ,
 -					  0 /*Force */ ,
-+					  (type == PAGELIST_READ) ? FOLL_WRITE : 0,
++					  (type = PAGELIST_READ) ? FOLL_WRITE : 0,
  					  pages,
  					  NULL /*vmas */);
  		up_read(&task->mm->mmap_sem);
@@ -346,9 +346,9 @@ index 60bdad3..150ce2a 100644
  	/* Get the physical addresses of the source buffer */
  	down_read(&current->mm->mmap_sem);
  	num_pinned = get_user_pages(param.local_vaddr - lb_offset,
--		num_pages, (param.source == -1) ? READ : WRITE,
+-		num_pages, (param.source = -1) ? READ : WRITE,
 -		0, pages, NULL);
-+		num_pages, (param.source == -1) ? 0 : FOLL_WRITE,
++		num_pages, (param.source = -1) ? 0 : FOLL_WRITE,
 +		pages, NULL);
  	up_read(&current->mm->mmap_sem);
  
@@ -445,9 +445,3 @@ index 842cfdd..70cb844 100644
  
 -- 
 2.10.0
-
---
-To unsubscribe, send a message with 'unsubscribe linux-mm' in
-the body to majordomo@kvack.org.  For more info on Linux MM,
-see: http://www.linux-mm.org/ .
-Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
diff --git a/a/content_digest b/N1/content_digest
index 8daa4e9..1b17864 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020161013002020.3062-1-lstoakes@gmail.com\0"
  "From\0Lorenzo Stoakes <lstoakes@gmail.com>\0"
  "Subject\0[PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags\0"
- "Date\0Thu, 13 Oct 2016 01:20:16 +0100\0"
+ "Date\0Thu, 13 Oct 2016 00:20:16 +0000\0"
  "To\0linux-mm@kvack.org\0"
  "Cc\0Linus Torvalds <torvalds@linux-foundation.org>"
   Jan Kara <jack@suse.cz>
@@ -165,9 +165,9 @@
  " \tdown_read(&current->mm->mmap_sem);\n"
  " \tret = get_user_pages((unsigned long)xfer->mem_addr,\n"
  " \t\t\t     vsg->num_pages,\n"
- "-\t\t\t     (vsg->direction == DMA_FROM_DEVICE),\n"
+ "-\t\t\t     (vsg->direction = DMA_FROM_DEVICE),\n"
  "-\t\t\t     0, vsg->pages, NULL);\n"
- "+\t\t\t     (vsg->direction == DMA_FROM_DEVICE) ? FOLL_WRITE : 0,\n"
+ "+\t\t\t     (vsg->direction = DMA_FROM_DEVICE) ? FOLL_WRITE : 0,\n"
  "+\t\t\t     vsg->pages, NULL);\n"
  " \n"
  " \tup_read(&current->mm->mmap_sem);\n"
@@ -273,17 +273,17 @@
  " \tdma->direction = direction;\n"
  " \tswitch (dma->direction) {\n"
  "@@ -178,12 +179,14 @@ static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma,\n"
- " \tif (NULL == dma->pages)\n"
+ " \tif (NULL = dma->pages)\n"
  " \t\treturn -ENOMEM;\n"
  " \n"
- "+\tif (rw == READ)\n"
+ "+\tif (rw = READ)\n"
  "+\t\tflags |= FOLL_WRITE;\n"
  "+\n"
  " \tdprintk(1, \"init user [0x%lx+0x%lx => %d pages]\\n\",\n"
  " \t\tdata, size, dma->nr_pages);\n"
  " \n"
  " \terr = get_user_pages(data & PAGE_MASK, dma->nr_pages,\n"
- "-\t\t\t     rw == READ, 1, /* force */\n"
+ "-\t\t\t     rw = READ, 1, /* force */\n"
  "-\t\t\t     dma->pages, NULL);\n"
  "+\t\t\t     flags, dma->pages, NULL);\n"
  " \n"
@@ -338,9 +338,9 @@
  " \t\tdown_read(&current->mm->mmap_sem);\n"
  " \t\tpinned = get_user_pages(\n"
  " \t\t\t\t(unsigned long)xfer->loc_addr & PAGE_MASK,\n"
- "-\t\t\t\tnr_pages, dir == DMA_FROM_DEVICE, 0,\n"
+ "-\t\t\t\tnr_pages, dir = DMA_FROM_DEVICE, 0,\n"
  "+\t\t\t\tnr_pages,\n"
- "+\t\t\t\tdir == DMA_FROM_DEVICE ? FOLL_WRITE : 0,\n"
+ "+\t\t\t\tdir = DMA_FROM_DEVICE ? FOLL_WRITE : 0,\n"
  " \t\t\t\tpage_list, NULL);\n"
  " \t\tup_read(&current->mm->mmap_sem);\n"
  " \n"
@@ -352,9 +352,9 @@
  " \t\tactual_pages = get_user_pages(task, task->mm,\n"
  " \t\t\t\t          (unsigned long)buf & ~(PAGE_SIZE - 1),\n"
  " \t\t\t\t\t  num_pages,\n"
- "-\t\t\t\t\t  (type == PAGELIST_READ) /*Write */ ,\n"
+ "-\t\t\t\t\t  (type = PAGELIST_READ) /*Write */ ,\n"
  "-\t\t\t\t\t  0 /*Force */ ,\n"
- "+\t\t\t\t\t  (type == PAGELIST_READ) ? FOLL_WRITE : 0,\n"
+ "+\t\t\t\t\t  (type = PAGELIST_READ) ? FOLL_WRITE : 0,\n"
  " \t\t\t\t\t  pages,\n"
  " \t\t\t\t\t  NULL /*vmas */);\n"
  " \t\tup_read(&task->mm->mmap_sem);\n"
@@ -380,9 +380,9 @@
  " \t/* Get the physical addresses of the source buffer */\n"
  " \tdown_read(&current->mm->mmap_sem);\n"
  " \tnum_pinned = get_user_pages(param.local_vaddr - lb_offset,\n"
- "-\t\tnum_pages, (param.source == -1) ? READ : WRITE,\n"
+ "-\t\tnum_pages, (param.source = -1) ? READ : WRITE,\n"
  "-\t\t0, pages, NULL);\n"
- "+\t\tnum_pages, (param.source == -1) ? 0 : FOLL_WRITE,\n"
+ "+\t\tnum_pages, (param.source = -1) ? 0 : FOLL_WRITE,\n"
  "+\t\tpages, NULL);\n"
  " \tup_read(&current->mm->mmap_sem);\n"
  " \n"
@@ -478,12 +478,6 @@
  " EXPORT_SYMBOL(get_user_pages_locked);\n"
  " \n"
  "-- \n"
- "2.10.0\n"
- "\n"
- "--\n"
- "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n"
- "the body to majordomo@kvack.org.  For more info on Linux MM,\n"
- "see: http://www.linux-mm.org/ .\n"
- "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
+ 2.10.0
 
-306d2fa7b17425628c9e78a42c235e40f61cad3ed3bdd67bb57e2dfabb6be27c
+cc3cdae7a171acf50d7611b42898c14ab6f186e72247b8385780478c19315068

diff --git a/a/1.txt b/N2/1.txt
index 6a179b3..b2f4c4e 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -445,9 +445,3 @@ index 842cfdd..70cb844 100644
  
 -- 
 2.10.0
-
---
-To unsubscribe, send a message with 'unsubscribe linux-mm' in
-the body to majordomo@kvack.org.  For more info on Linux MM,
-see: http://www.linux-mm.org/ .
-Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
diff --git a/a/content_digest b/N2/content_digest
index 8daa4e9..e437f43 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -29,7 +29,12 @@
   linux-samsung-soc@vger.kernel.org
   linux-scsi@vger.kernel.org
   linux-security-module@vger.kernel.org
- " linux-sh@vger.kerne\0"
+  linux-sh@vger.kernel.org
+  linuxppc-dev@lists.ozlabs.org
+  netdev@vger.kernel.org
+  sparclinux@vger.kernel.org
+  x86@kernel.org
+ " Lorenzo Stoakes <lstoakes@gmail.com>\0"
  "\00:1\0"
  "b\0"
  "This patch removes the write and force parameters from get_user_pages() and\n"
@@ -478,12 +483,6 @@
  " EXPORT_SYMBOL(get_user_pages_locked);\n"
  " \n"
  "-- \n"
- "2.10.0\n"
- "\n"
- "--\n"
- "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n"
- "the body to majordomo@kvack.org.  For more info on Linux MM,\n"
- "see: http://www.linux-mm.org/ .\n"
- "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
+ 2.10.0
 
-306d2fa7b17425628c9e78a42c235e40f61cad3ed3bdd67bb57e2dfabb6be27c
+15df04c3e1ff84d601cc57eeb58d97178272400b067f49ae9796c7df698537d0

diff --git a/a/1.txt b/N3/1.txt
index 6a179b3..b2f4c4e 100644
--- a/a/1.txt
+++ b/N3/1.txt
@@ -445,9 +445,3 @@ index 842cfdd..70cb844 100644
  
 -- 
 2.10.0
-
---
-To unsubscribe, send a message with 'unsubscribe linux-mm' in
-the body to majordomo@kvack.org.  For more info on Linux MM,
-see: http://www.linux-mm.org/ .
-Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
diff --git a/a/content_digest b/N3/content_digest
index 8daa4e9..5f60fcb 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -1,35 +1,8 @@
  "ref\020161013002020.3062-1-lstoakes@gmail.com\0"
- "From\0Lorenzo Stoakes <lstoakes@gmail.com>\0"
+ "From\0lstoakes@gmail.com (Lorenzo Stoakes)\0"
  "Subject\0[PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags\0"
  "Date\0Thu, 13 Oct 2016 01:20:16 +0100\0"
- "To\0linux-mm@kvack.org\0"
- "Cc\0Linus Torvalds <torvalds@linux-foundation.org>"
-  Jan Kara <jack@suse.cz>
-  Hugh Dickins <hughd@google.com>
-  Dave Hansen <dave.hansen@linux.intel.com>
-  Rik van Riel <riel@redhat.com>
-  Mel Gorman <mgorman@techsingularity.net>
-  Andrew Morton <akpm@linux-foundation.org>
-  adi-buildroot-devel@lists.sourceforge.net
-  ceph-devel@vger.kernel.org
-  dri-devel@lists.freedesktop.org
-  intel-gfx@lists.freedesktop.org
-  kvm@vger.kernel.org
-  linux-alpha@vger.kernel.org
-  linux-arm-kernel@lists.infradead.org
-  linux-cris-kernel@axis.com
-  linux-fbdev@vger.kernel.org
-  linux-fsdevel@vger.kernel.org
-  linux-ia64@vger.kernel.org
-  linux-kernel@vger.kernel.org
-  linux-media@vger.kernel.org
-  linux-mips@linux-mips.org
-  linux-rdma@vger.kernel.org
-  linux-s390@vger.kernel.org
-  linux-samsung-soc@vger.kernel.org
-  linux-scsi@vger.kernel.org
-  linux-security-module@vger.kernel.org
- " linux-sh@vger.kerne\0"
+ "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
  "b\0"
  "This patch removes the write and force parameters from get_user_pages() and\n"
@@ -478,12 +451,6 @@
  " EXPORT_SYMBOL(get_user_pages_locked);\n"
  " \n"
  "-- \n"
- "2.10.0\n"
- "\n"
- "--\n"
- "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n"
- "the body to majordomo@kvack.org.  For more info on Linux MM,\n"
- "see: http://www.linux-mm.org/ .\n"
- "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
+ 2.10.0
 
-306d2fa7b17425628c9e78a42c235e40f61cad3ed3bdd67bb57e2dfabb6be27c
+2a8a206c929e8f573a707ef4b5956ed8f5d0dac072fa18a29c09b2ee87b2d689

diff --git a/a/content_digest b/N4/content_digest
index 8daa4e9..7965e30 100644
--- a/a/content_digest
+++ b/N4/content_digest
@@ -29,7 +29,12 @@
   linux-samsung-soc@vger.kernel.org
   linux-scsi@vger.kernel.org
   linux-security-module@vger.kernel.org
- " linux-sh@vger.kerne\0"
+  linux-sh@vger.kernel.org
+  linuxppc-dev@lists.ozlabs.org
+  netdev@vger.kernel.org
+  sparclinux@vger.kernel.org
+  x86@kernel.org
+ " Lorenzo Stoakes <lstoakes@gmail.com>\0"
  "\00:1\0"
  "b\0"
  "This patch removes the write and force parameters from get_user_pages() and\n"
@@ -486,4 +491,4 @@
  "see: http://www.linux-mm.org/ .\n"
  "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
 
-306d2fa7b17425628c9e78a42c235e40f61cad3ed3bdd67bb57e2dfabb6be27c
+ec272c6a8db467bf710fd11bf08ba20e04bf791102ea60bab208605b4aa892f8

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.