All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100830000040.6390b7ad@debxo>

diff --git a/a/1.txt b/N1/1.txt
index 817cd8c..ddbb95e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -30,7 +30,7 @@ index fe84d56..0972b39 100644
 + */
 +static int __init handle_nextprop_quirks(char *buf, const char *name)
 +{
-+	if (!name || strlen(name) = 0)
++	if (!name || strlen(name) == 0)
 +		return -1;
 +
 +#ifdef CONFIG_SPARC32
@@ -92,13 +92,13 @@ index f0872b6..fd02fc1 100644
  		p->value = prom_early_alloc(special_len);
  		memcpy(p->value, special_val, special_len);
  	} else {
--		if (prev = NULL) {
+-		if (prev == NULL) {
 -			name = prom_firstprop(node, p->name);
 -		} else {
 -			name = prom_nextprop(node, prev, p->name);
 -		}
 -
--		if (!name || strlen(name) = 0) {
+-		if (!name || strlen(name) == 0) {
 +		err = of_pdt_prom_ops->nextprop(node, prev, p->name);
 +		if (err) {
  			tmp = p;
diff --git a/a/content_digest b/N1/content_digest
index 12542a5..3c438f4 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,8 @@
  "ref\020100628215407.2017bf2f@debian\0"
  "ref\020100829235100.6dcedcb8@debxo\0"
  "From\0Andres Salomon <dilinger@queued.net>\0"
- "Subject\0[PATCH 5/9] of: no longer call prom_ functions directly; use an ops\0"
- "Date\0Mon, 30 Aug 2010 03:58:53 +0000\0"
+ "Subject\0[PATCH 5/9] of: no longer call prom_ functions directly; use an ops structure\0"
+ "Date\0Mon, 30 Aug 2010 00:00:40 -0400\0"
  "To\0devicetree-discuss@lists.ozlabs.org\0"
  "Cc\0sparclinux@vger.kernel.org"
   x86@kernel.org
@@ -50,7 +50,7 @@
  "+ */\n"
  "+static int __init handle_nextprop_quirks(char *buf, const char *name)\n"
  "+{\n"
- "+\tif (!name || strlen(name) = 0)\n"
+ "+\tif (!name || strlen(name) == 0)\n"
  "+\t\treturn -1;\n"
  "+\n"
  "+#ifdef CONFIG_SPARC32\n"
@@ -112,13 +112,13 @@
  " \t\tp->value = prom_early_alloc(special_len);\n"
  " \t\tmemcpy(p->value, special_val, special_len);\n"
  " \t} else {\n"
- "-\t\tif (prev = NULL) {\n"
+ "-\t\tif (prev == NULL) {\n"
  "-\t\t\tname = prom_firstprop(node, p->name);\n"
  "-\t\t} else {\n"
  "-\t\t\tname = prom_nextprop(node, prev, p->name);\n"
  "-\t\t}\n"
  "-\n"
- "-\t\tif (!name || strlen(name) = 0) {\n"
+ "-\t\tif (!name || strlen(name) == 0) {\n"
  "+\t\terr = of_pdt_prom_ops->nextprop(node, prev, p->name);\n"
  "+\t\tif (err) {\n"
  " \t\t\ttmp = p;\n"
@@ -229,4 +229,4 @@
  "-- \n"
  1.5.6.5
 
-95f4fa92c6a3da551473288f79711010343274f818b9735405dc97ead1d1ae90
+e6d87503a7670b4112c97074879880d52d7ebe638d2d5ff67dac5a9ce410bb93

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.