All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100628220037.5744c207@debian>

diff --git a/a/1.txt b/N1/1.txt
index 3e0c490..baa4208 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -79,7 +79,7 @@ index a8591ef..cf5fe1c 100644
 -	if (!dp)
 -		return 0;
 -
--	return (dp->parent = NULL);
+-	return (dp->parent == NULL);
 -}
 -
 -extern char *build_path_component(struct device_node *dp);
@@ -137,13 +137,13 @@ index 57ac9e2..fc990e1 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) {
 -			tmp = p;
 -			return NULL;
 -		}
@@ -396,13 +396,13 @@ index 0000000..b24167f
 +		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) {
 +			tmp = p;
 +			return NULL;
 +		}
@@ -579,7 +579,7 @@ index 0000000..f62616e
 +	if (!dp)
 +		return 0;
 +
-+	return (dp->parent = NULL);
++	return (dp->parent == NULL);
 +}
 +
 +#endif /* _LINUX_OF_PDT_H */
diff --git a/a/content_digest b/N1/content_digest
index d9114b8..c2f96e0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020100628215407.2017bf2f@debian\0"
  "From\0Andres Salomon <dilinger@queued.net>\0"
- "Subject\0[PATCH 2/4] sparc: break out some prom device-tree building code\0"
- "Date\0Tue, 29 Jun 2010 02:00:37 +0000\0"
+ "Subject\0[PATCH 2/4] sparc: break out some prom device-tree building code out into drivers/of\0"
+ "Date\0Mon, 28 Jun 2010 22:00:37 -0400\0"
  "To\0devicetree-discuss@lists.ozlabs.org\0"
  "Cc\0sparclinux@vger.kernel.org"
   x86@kernel.org
@@ -97,7 +97,7 @@
  "-\tif (!dp)\n"
  "-\t\treturn 0;\n"
  "-\n"
- "-\treturn (dp->parent = NULL);\n"
+ "-\treturn (dp->parent == NULL);\n"
  "-}\n"
  "-\n"
  "-extern char *build_path_component(struct device_node *dp);\n"
@@ -155,13 +155,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\t\ttmp = p;\n"
  "-\t\t\treturn NULL;\n"
  "-\t\t}\n"
@@ -414,13 +414,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\t\ttmp = p;\n"
  "+\t\t\treturn NULL;\n"
  "+\t\t}\n"
@@ -597,11 +597,11 @@
  "+\tif (!dp)\n"
  "+\t\treturn 0;\n"
  "+\n"
- "+\treturn (dp->parent = NULL);\n"
+ "+\treturn (dp->parent == NULL);\n"
  "+}\n"
  "+\n"
  "+#endif /* _LINUX_OF_PDT_H */\n"
  "-- \n"
  1.5.6.5
 
-0b7e185a032f255f1013f84cfe2980158182722f167e9d38fe715f41a39019f7
+57c39aa0f2b61df7c4f3646cca3076b37e9d7335dd328cdf6ec6cfd903374c83

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.