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

diff --git a/a/1.txt b/N1/1.txt
index 072afe8..f89c3d2 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -170,10 +170,10 @@ index 0000000..1128f3f
 +	const void *args[] = { (void *)node };
 +	void *res[] = { &node };
 +
-+	if (node = -1)
++	if (node == -1)
 +		return -1;
 +
-+	if (olpc_ofw("peer", args, res) || node = -1)
++	if (olpc_ofw("peer", args, res) || node == -1)
 +		return -1;
 +
 +	return node;
@@ -184,10 +184,10 @@ index 0000000..1128f3f
 +	const void *args[] = { (void *)node };
 +	void *res[] = { &node };
 +
-+	if (node = -1)
++	if (node == -1)
 +		return 0;
 +
-+	if (olpc_ofw("child", args, res) || node = -1) {
++	if (olpc_ofw("child", args, res) || node == -1) {
 +		printk(KERN_ERR "PROM: %s: fetching child failed!\n", __func__);
 +		return 0;
 +	}
@@ -201,7 +201,7 @@ index 0000000..1128f3f
 +	int len;
 +	void *res[] = { &len };
 +
-+	if (node = -1)
++	if (node == -1)
 +		return 0;
 +
 +	if (olpc_ofw("getproplen", args, res)) {
@@ -238,7 +238,7 @@ index 0000000..1128f3f
 +{
 +	buf[0] = '\0';
 +
-+	if (node = -1)
++	if (node == -1)
 +		return NULL;
 +
 +	return prom_nextprop(node, "", buf);
@@ -252,7 +252,7 @@ index 0000000..1128f3f
 +
 +	buf[0] = '\0';
 +
-+	if (node = -1)
++	if (node == -1)
 +		return NULL;
 +
 +	if (olpc_ofw("nextprop", args, res) || success != 1) {
diff --git a/a/content_digest b/N1/content_digest
index f7596d0..1537c7b 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 4/4] x86: OLPC: add OLPC device-tree support\0"
- "Date\0Tue, 29 Jun 2010 02:00:58 +0000\0"
+ "Date\0Mon, 28 Jun 2010 22:00:58 -0400\0"
  "To\0devicetree-discuss@lists.ozlabs.org\0"
  "Cc\0sparclinux@vger.kernel.org"
   x86@kernel.org
@@ -188,10 +188,10 @@
  "+\tconst void *args[] = { (void *)node };\n"
  "+\tvoid *res[] = { &node };\n"
  "+\n"
- "+\tif (node = -1)\n"
+ "+\tif (node == -1)\n"
  "+\t\treturn -1;\n"
  "+\n"
- "+\tif (olpc_ofw(\"peer\", args, res) || node = -1)\n"
+ "+\tif (olpc_ofw(\"peer\", args, res) || node == -1)\n"
  "+\t\treturn -1;\n"
  "+\n"
  "+\treturn node;\n"
@@ -202,10 +202,10 @@
  "+\tconst void *args[] = { (void *)node };\n"
  "+\tvoid *res[] = { &node };\n"
  "+\n"
- "+\tif (node = -1)\n"
+ "+\tif (node == -1)\n"
  "+\t\treturn 0;\n"
  "+\n"
- "+\tif (olpc_ofw(\"child\", args, res) || node = -1) {\n"
+ "+\tif (olpc_ofw(\"child\", args, res) || node == -1) {\n"
  "+\t\tprintk(KERN_ERR \"PROM: %s: fetching child failed!\\n\", __func__);\n"
  "+\t\treturn 0;\n"
  "+\t}\n"
@@ -219,7 +219,7 @@
  "+\tint len;\n"
  "+\tvoid *res[] = { &len };\n"
  "+\n"
- "+\tif (node = -1)\n"
+ "+\tif (node == -1)\n"
  "+\t\treturn 0;\n"
  "+\n"
  "+\tif (olpc_ofw(\"getproplen\", args, res)) {\n"
@@ -256,7 +256,7 @@
  "+{\n"
  "+\tbuf[0] = '\\0';\n"
  "+\n"
- "+\tif (node = -1)\n"
+ "+\tif (node == -1)\n"
  "+\t\treturn NULL;\n"
  "+\n"
  "+\treturn prom_nextprop(node, \"\", buf);\n"
@@ -270,7 +270,7 @@
  "+\n"
  "+\tbuf[0] = '\\0';\n"
  "+\n"
- "+\tif (node = -1)\n"
+ "+\tif (node == -1)\n"
  "+\t\treturn NULL;\n"
  "+\n"
  "+\tif (olpc_ofw(\"nextprop\", args, res) || success != 1) {\n"
@@ -321,4 +321,4 @@
  "-- \n"
  1.5.6.5
 
-e129e4f722eef255582b09883a8e2368f84dc46be876b4221960038f04df89fc
+424004e152dc8467696bd79590c72cfd5a66c632f23939ab7613f8a260d96bc2

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.