All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4C5EA651.7080009@kernel.org>

diff --git a/a/1.txt b/N1/1.txt
index ae58aae..8b13789 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,35 +1 @@
->From 206c53730b8b1707becca7a868ea8d14ebee24d2 Mon Sep 17 00:00:00 2001
-From: Huang Shijie <shijie8@gmail.com>
-Date: Sun, 8 Aug 2010 14:39:07 +0200
 
-The original code did not free the old map.  This patch fixes it.
-
-tj: use @old as memcpy source instead of @chunk->map, and indentation
-    and description update
-
-Signed-off-by: Huang Shijie <shijie8@gmail.com>
-Signed-off-by: Tejun Heo <tj@kernel.org>
----
-Patch applied to percpu#for-linus w/ some updates.  Thanks a lot for
-catching this.
-
- mm/percpu.c |    4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
-diff --git a/mm/percpu.c b/mm/percpu.c
-index e61dc2c..a1830d8 100644
---- a/mm/percpu.c
-+++ b/mm/percpu.c
-@@ -393,7 +393,9 @@ static int pcpu_extend_area_map(struct pcpu_chunk *chunk, int new_alloc)
- 		goto out_unlock;
-
- 	old_size = chunk->map_alloc * sizeof(chunk->map[0]);
--	memcpy(new, chunk->map, old_size);
-+	old = chunk->map;
-+
-+	memcpy(new, old, old_size);
-
- 	chunk->map_alloc = new_alloc;
- 	chunk->map = new;
--- 
-1.7.1
diff --git a/a/content_digest b/N1/content_digest
index b6d94b4..2a03ddf 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,40 +8,5 @@
  " lkml <linux-kernel@vger.kernel.org>\0"
  "\00:1\0"
  "b\0"
- ">From 206c53730b8b1707becca7a868ea8d14ebee24d2 Mon Sep 17 00:00:00 2001\n"
- "From: Huang Shijie <shijie8@gmail.com>\n"
- "Date: Sun, 8 Aug 2010 14:39:07 +0200\n"
- "\n"
- "The original code did not free the old map.  This patch fixes it.\n"
- "\n"
- "tj: use @old as memcpy source instead of @chunk->map, and indentation\n"
- "    and description update\n"
- "\n"
- "Signed-off-by: Huang Shijie <shijie8@gmail.com>\n"
- "Signed-off-by: Tejun Heo <tj@kernel.org>\n"
- "---\n"
- "Patch applied to percpu#for-linus w/ some updates.  Thanks a lot for\n"
- "catching this.\n"
- "\n"
- " mm/percpu.c |    4 +++-\n"
- " 1 files changed, 3 insertions(+), 1 deletions(-)\n"
- "\n"
- "diff --git a/mm/percpu.c b/mm/percpu.c\n"
- "index e61dc2c..a1830d8 100644\n"
- "--- a/mm/percpu.c\n"
- "+++ b/mm/percpu.c\n"
- "@@ -393,7 +393,9 @@ static int pcpu_extend_area_map(struct pcpu_chunk *chunk, int new_alloc)\n"
- " \t\tgoto out_unlock;\n"
- "\n"
- " \told_size = chunk->map_alloc * sizeof(chunk->map[0]);\n"
- "-\tmemcpy(new, chunk->map, old_size);\n"
- "+\told = chunk->map;\n"
- "+\n"
- "+\tmemcpy(new, old, old_size);\n"
- "\n"
- " \tchunk->map_alloc = new_alloc;\n"
- " \tchunk->map = new;\n"
- "-- \n"
- 1.7.1
 
-ade263456adfd8d046944c080db5f18ac437b4ff835551b824affce4bc99d7a3
+1081e30a655f84e93cc24bfe5e0ccd8d50715bd7bb0952be3a257c330a0c6de9

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.