All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100527195633.GC25935@redhat.com>

diff --git a/a/1.txt b/N1/1.txt
index 5601d3d..17b4c84 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -29,12 +29,12 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com>
  
 +	down_write(&mm->mmap_sem);
  	for (tmp = &mm->context.sram_list; *tmp; tmp = &(*tmp)->next)
--		if ((*tmp)->addr = addr)
+-		if ((*tmp)->addr == addr)
 -			goto found;
 -	return -1;
 -found:
 -	lsl = *tmp;
-+		if ((*tmp)->addr = addr) {
++		if ((*tmp)->addr == addr) {
 +			lsl = *tmp;
 +			*tmp = lsl->next;
 +			break;
diff --git a/a/content_digest b/N1/content_digest
index 54746a4..9d6b4ff 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -9,8 +9,8 @@
  "ref\020100526124006.GA28358@redhat.com\0"
  "ref\020100527195544.GA25935@redhat.com\0"
  "From\0Oleg Nesterov <oleg@redhat.com>\0"
- "Subject\0[PATCH 2/2] blackfin: use ->mmap_sem to protect\0"
- "Date\0Thu, 27 May 2010 19:56:33 +0000\0"
+ "Subject\0[PATCH 2/2] blackfin: use ->mmap_sem to protect mm_context_t->sram_list\0"
+ "Date\0Thu, 27 May 2010 21:56:33 +0200\0"
  "To\0Mike Frysinger <vapier.adi@gmail.com>"
  " Andrew Morton <akpm@linux-foundation.org>\0"
  "Cc\0David Howells <dhowells@redhat.com>"
@@ -52,12 +52,12 @@
  " \n"
  "+\tdown_write(&mm->mmap_sem);\n"
  " \tfor (tmp = &mm->context.sram_list; *tmp; tmp = &(*tmp)->next)\n"
- "-\t\tif ((*tmp)->addr = addr)\n"
+ "-\t\tif ((*tmp)->addr == addr)\n"
  "-\t\t\tgoto found;\n"
  "-\treturn -1;\n"
  "-found:\n"
  "-\tlsl = *tmp;\n"
- "+\t\tif ((*tmp)->addr = addr) {\n"
+ "+\t\tif ((*tmp)->addr == addr) {\n"
  "+\t\t\tlsl = *tmp;\n"
  "+\t\t\t*tmp = lsl->next;\n"
  "+\t\t\tbreak;\n"
@@ -90,4 +90,4 @@
  " }\n"
   EXPORT_SYMBOL(sram_alloc_with_lsl);
 
-6f74d1df9bb5be9d3a2cf43c84c5d86dd111ed497f81050b8926a3704c8279ce
+8685bc59a54ac36f8c4e40abb30caa2393b6c699c30f1bf9f5b6dbd0ec20d9ad

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.