All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <51127EFE.4030209@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 135999d..a846c0a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -192,7 +192,7 @@ Rob
 > -	read_lock(&devtree_lock);
 > +	raw_spin_lock_irqsave(&devtree_lock, flags);
 >  	for (; np; np = np->allnext) {
->  		if (np->full_name && (of_node_cmp(np->full_name, path) == 0)
+>  		if (np->full_name && (of_node_cmp(np->full_name, path) = 0)
 >  		    && of_node_get(np))
 >  			break;
 >  	}
@@ -211,7 +211,7 @@ Rob
 > +	raw_spin_lock_irqsave(&devtree_lock, flags);
 >  	np = from ? from->allnext : of_allnodes;
 >  	for (; np; np = np->allnext)
->  		if (np->name && (of_node_cmp(np->name, name) == 0)
+>  		if (np->name && (of_node_cmp(np->name, name) = 0)
 >  		    && of_node_get(np))
 >  			break;
 >  	of_node_put(from);
@@ -230,7 +230,7 @@ Rob
 > +	raw_spin_lock_irqsave(&devtree_lock, flags);
 >  	np = from ? from->allnext : of_allnodes;
 >  	for (; np; np = np->allnext)
->  		if (np->type && (of_node_cmp(np->type, type) == 0)
+>  		if (np->type && (of_node_cmp(np->type, type) = 0)
 >  		    && of_node_get(np))
 >  			break;
 >  	of_node_put(from);
@@ -323,7 +323,7 @@ Rob
 > -	read_lock(&devtree_lock);
 > +	raw_spin_lock(&devtree_lock);
 >  	for (np = of_allnodes; np; np = np->allnext)
->  		if (np->phandle == handle)
+>  		if (np->phandle = handle)
 >  			break;
 >  	of_node_get(np);
 > -	read_unlock(&devtree_lock);
@@ -339,7 +339,7 @@ Rob
 > +	raw_spin_lock_irqsave(&devtree_lock, flags);
 >  	next = &np->properties;
 >  	while (*next) {
->  		if (strcmp(prop->name, (*next)->name) == 0) {
+>  		if (strcmp(prop->name, (*next)->name) = 0) {
 >  			/* duplicate ! don't insert it */
 > -			write_unlock_irqrestore(&devtree_lock, flags);
 > +			raw_spin_unlock_irqrestore(&devtree_lock, flags);
@@ -361,7 +361,7 @@ Rob
 > +	raw_spin_lock_irqsave(&devtree_lock, flags);
 >  	next = &np->properties;
 >  	while (*next) {
->  		if (*next == prop) {
+>  		if (*next = prop) {
 > @@ -1251,7 +1263,7 @@ int of_remove_property(struct device_node *np, struct property *prop)
 >  		}
 >  		next = &(*next)->next;
@@ -379,7 +379,7 @@ Rob
 > +	raw_spin_lock_irqsave(&devtree_lock, flags);
 >  	next = &np->properties;
 >  	while (*next) {
->  		if (*next == oldprop) {
+>  		if (*next = oldprop) {
 > @@ -1305,7 +1317,7 @@ int of_update_property(struct device_node *np, struct property *newprop)
 >  		}
 >  		next = &(*next)->next;
diff --git a/a/content_digest b/N1/content_digest
index 5e9d06d..b74130d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01359993921-18145-1-git-send-email-paul.gortmaker@windriver.com\0"
  "From\0Rob Herring <robherring2@gmail.com>\0"
  "Subject\0Re: [PATCH next] OF: convert devtree lock from rw_lock to raw spinlock\0"
- "Date\0Wed, 06 Feb 2013 10:04:14 -0600\0"
+ "Date\0Wed, 06 Feb 2013 16:04:14 +0000\0"
  "To\0Paul Gortmaker <paul.gortmaker@windriver.com>\0"
  "Cc\0Rob Herring <rob.herring@calxeda.com>"
   linux-rt-users@vger.kernel.org
@@ -206,7 +206,7 @@
  "> -\tread_lock(&devtree_lock);\n"
  "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n"
  ">  \tfor (; np; np = np->allnext) {\n"
- ">  \t\tif (np->full_name && (of_node_cmp(np->full_name, path) == 0)\n"
+ ">  \t\tif (np->full_name && (of_node_cmp(np->full_name, path) = 0)\n"
  ">  \t\t    && of_node_get(np))\n"
  ">  \t\t\tbreak;\n"
  ">  \t}\n"
@@ -225,7 +225,7 @@
  "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n"
  ">  \tnp = from ? from->allnext : of_allnodes;\n"
  ">  \tfor (; np; np = np->allnext)\n"
- ">  \t\tif (np->name && (of_node_cmp(np->name, name) == 0)\n"
+ ">  \t\tif (np->name && (of_node_cmp(np->name, name) = 0)\n"
  ">  \t\t    && of_node_get(np))\n"
  ">  \t\t\tbreak;\n"
  ">  \tof_node_put(from);\n"
@@ -244,7 +244,7 @@
  "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n"
  ">  \tnp = from ? from->allnext : of_allnodes;\n"
  ">  \tfor (; np; np = np->allnext)\n"
- ">  \t\tif (np->type && (of_node_cmp(np->type, type) == 0)\n"
+ ">  \t\tif (np->type && (of_node_cmp(np->type, type) = 0)\n"
  ">  \t\t    && of_node_get(np))\n"
  ">  \t\t\tbreak;\n"
  ">  \tof_node_put(from);\n"
@@ -337,7 +337,7 @@
  "> -\tread_lock(&devtree_lock);\n"
  "> +\traw_spin_lock(&devtree_lock);\n"
  ">  \tfor (np = of_allnodes; np; np = np->allnext)\n"
- ">  \t\tif (np->phandle == handle)\n"
+ ">  \t\tif (np->phandle = handle)\n"
  ">  \t\t\tbreak;\n"
  ">  \tof_node_get(np);\n"
  "> -\tread_unlock(&devtree_lock);\n"
@@ -353,7 +353,7 @@
  "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n"
  ">  \tnext = &np->properties;\n"
  ">  \twhile (*next) {\n"
- ">  \t\tif (strcmp(prop->name, (*next)->name) == 0) {\n"
+ ">  \t\tif (strcmp(prop->name, (*next)->name) = 0) {\n"
  ">  \t\t\t/* duplicate ! don't insert it */\n"
  "> -\t\t\twrite_unlock_irqrestore(&devtree_lock, flags);\n"
  "> +\t\t\traw_spin_unlock_irqrestore(&devtree_lock, flags);\n"
@@ -375,7 +375,7 @@
  "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n"
  ">  \tnext = &np->properties;\n"
  ">  \twhile (*next) {\n"
- ">  \t\tif (*next == prop) {\n"
+ ">  \t\tif (*next = prop) {\n"
  "> @@ -1251,7 +1263,7 @@ int of_remove_property(struct device_node *np, struct property *prop)\n"
  ">  \t\t}\n"
  ">  \t\tnext = &(*next)->next;\n"
@@ -393,7 +393,7 @@
  "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n"
  ">  \tnext = &np->properties;\n"
  ">  \twhile (*next) {\n"
- ">  \t\tif (*next == oldprop) {\n"
+ ">  \t\tif (*next = oldprop) {\n"
  "> @@ -1305,7 +1317,7 @@ int of_update_property(struct device_node *np, struct property *newprop)\n"
  ">  \t\t}\n"
  ">  \t\tnext = &(*next)->next;\n"
@@ -451,4 +451,4 @@
  ">  {\n"
  >
 
-a856be05d4d8355efec5fe561781e06bf4a0364b636000f6fcc5cf605bd4e149
+67e1df5015381411d4fe9e1bb04186a4d5af2ae3febbfc57461071db472844e6

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.