diff for duplicates of <20101021141752.7f3f7bf2@queued.net> diff --git a/a/1.txt b/N1/1.txt index c64d592..a60fdb1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -154,10 +154,10 @@ a PDT function? I'm leaning towards that last option. > >> + const void *args[] = { (void *)node }; > >> + void *res[] = { &node }; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return 0; > >> + -> >> + if (olpc_ofw("peer", args, res) || node = -1) +> >> + if (olpc_ofw("peer", args, res) || node == -1) > >> + return 0; > >> + > >> + return node; @@ -168,10 +168,10 @@ a PDT function? I'm leaning towards that last option. > >> + 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) { > >> + pr_err("PROM: %s: fetching child failed!\n", > >> __func__); > >> + return 0; @@ -186,7 +186,7 @@ a PDT function? I'm leaning towards that last option. > >> + int len; > >> + void *res[] = { &len }; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return -1; > >> + > >> + if (olpc_ofw("getproplen", args, res)) { @@ -229,7 +229,7 @@ a PDT function? I'm leaning towards that last option. > >> + > >> + buf[0] = '\0'; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return -1; > >> + > >> + if (olpc_ofw("nextprop", args, res) || success != 1) @@ -244,7 +244,7 @@ a PDT function? I'm leaning towards that last option. > >> + const void *args[] = { (void *)node, buf, (void *)buflen }; > >> + void *res[] = { len }; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return -1; > >> + > >> + if (olpc_ofw("package-to-path", args, res) || *len < 1) @@ -312,7 +312,7 @@ a PDT function? I'm leaning towards that last option. > >> + of_pdt_init_devicetree(); > >> + > >> proc_device_tree = proc_mkdir("device-tree", NULL); -> >> if (proc_device_tree = NULL) +> >> if (proc_device_tree == NULL) > >> return; > >> diff --git a/include/linux/of_pdt.h b/include/linux/of_pdt.h > >> index c65a18a..5b29aef 100644 diff --git a/a/content_digest b/N1/content_digest index 1b8cff2..c5eee11 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0AANLkTikg-HOM3EVQiPvuDahLuUWvhg_VeBBXLtJu6Tzo@mail.gmail.com\0" "From\0Andres Salomon <dilinger@queued.net>\0" "Subject\0Re: [PATCH 5/5] x86: OLPC: add OLPC device-tree support\0" - "Date\0Thu, 21 Oct 2010 21:17:52 +0000\0" + "Date\0Thu, 21 Oct 2010 14:17:52 -0700\0" "To\0Grant Likely <grant.likely@secretlab.ca>\0" "Cc\0devicetree-discuss@lists.ozlabs.org" David Miller <davem@davemloft.net> @@ -170,10 +170,10 @@ "> >> + \302\240 \302\240 const void *args[] = { (void *)node };\n" "> >> + \302\240 \302\240 void *res[] = { &node };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" "> >> +\n" - "> >> + \302\240 \302\240 if (olpc_ofw(\"peer\", args, res) || node = -1)\n" + "> >> + \302\240 \302\240 if (olpc_ofw(\"peer\", args, res) || node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" "> >> +\n" "> >> + \302\240 \302\240 return node;\n" @@ -184,10 +184,10 @@ "> >> + \302\240 \302\240 const void *args[] = { (void *)node };\n" "> >> + \302\240 \302\240 void *res[] = { &node };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" "> >> +\n" - "> >> + \302\240 \302\240 if (olpc_ofw(\"child\", args, res) || node = -1) {\n" + "> >> + \302\240 \302\240 if (olpc_ofw(\"child\", args, res) || node == -1) {\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 pr_err(\"PROM: %s: fetching child failed!\\n\",\n" "> >> __func__);\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" @@ -202,7 +202,7 @@ "> >> + \302\240 \302\240 int len;\n" "> >> + \302\240 \302\240 void *res[] = { &len };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return -1;\n" "> >> +\n" "> >> + \302\240 \302\240 if (olpc_ofw(\"getproplen\", args, res)) {\n" @@ -245,7 +245,7 @@ "> >> +\n" "> >> + \302\240 \302\240 buf[0] = '\\0';\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return -1;\n" "> >> +\n" "> >> + \302\240 \302\240 if (olpc_ofw(\"nextprop\", args, res) || success != 1)\n" @@ -260,7 +260,7 @@ "> >> + \302\240 \302\240 const void *args[] = { (void *)node, buf, (void *)buflen };\n" "> >> + \302\240 \302\240 void *res[] = { len };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return -1;\n" "> >> +\n" "> >> + \302\240 \302\240 if (olpc_ofw(\"package-to-path\", args, res) || *len < 1)\n" @@ -328,7 +328,7 @@ "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 of_pdt_init_devicetree();\n" "> >> +\n" "> >> \302\240 \302\240 \302\240 proc_device_tree = proc_mkdir(\"device-tree\", NULL);\n" - "> >> \302\240 \302\240 \302\240 if (proc_device_tree = NULL)\n" + "> >> \302\240 \302\240 \302\240 if (proc_device_tree == NULL)\n" "> >> \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return;\n" "> >> diff --git a/include/linux/of_pdt.h b/include/linux/of_pdt.h\n" "> >> index c65a18a..5b29aef 100644\n" @@ -351,4 +351,4 @@ "> \n" > -6a241c25f0ac3e74c25a21db00934ba4c3e6a1b5eb1f5d3b91a0644f10a78800 +afe828d2f595fea2d2bd973f1a098c597b6fd874e50cf25090e4310a559da25b
diff --git a/a/1.txt b/N2/1.txt index c64d592..91ac2b7 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -154,10 +154,10 @@ a PDT function? I'm leaning towards that last option. > >> + const void *args[] = { (void *)node }; > >> + void *res[] = { &node }; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return 0; > >> + -> >> + if (olpc_ofw("peer", args, res) || node = -1) +> >> + if (olpc_ofw("peer", args, res) || node == -1) > >> + return 0; > >> + > >> + return node; @@ -168,10 +168,10 @@ a PDT function? I'm leaning towards that last option. > >> + 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) { > >> + pr_err("PROM: %s: fetching child failed!\n", > >> __func__); > >> + return 0; @@ -186,7 +186,7 @@ a PDT function? I'm leaning towards that last option. > >> + int len; > >> + void *res[] = { &len }; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return -1; > >> + > >> + if (olpc_ofw("getproplen", args, res)) { @@ -229,7 +229,7 @@ a PDT function? I'm leaning towards that last option. > >> + > >> + buf[0] = '\0'; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return -1; > >> + > >> + if (olpc_ofw("nextprop", args, res) || success != 1) @@ -244,7 +244,7 @@ a PDT function? I'm leaning towards that last option. > >> + const void *args[] = { (void *)node, buf, (void *)buflen }; > >> + void *res[] = { len }; > >> + -> >> + if (node = -1) +> >> + if (node == -1) > >> + return -1; > >> + > >> + if (olpc_ofw("package-to-path", args, res) || *len < 1) @@ -312,7 +312,7 @@ a PDT function? I'm leaning towards that last option. > >> + of_pdt_init_devicetree(); > >> + > >> proc_device_tree = proc_mkdir("device-tree", NULL); -> >> if (proc_device_tree = NULL) +> >> if (proc_device_tree == NULL) > >> return; > >> diff --git a/include/linux/of_pdt.h b/include/linux/of_pdt.h > >> index c65a18a..5b29aef 100644 @@ -333,4 +333,8 @@ a PDT function? I'm leaning towards that last option. > > > > -> +> +-- +To unsubscribe from this list: send the line "unsubscribe sparclinux" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index 1b8cff2..160a86e 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -3,7 +3,7 @@ "ref\0AANLkTikg-HOM3EVQiPvuDahLuUWvhg_VeBBXLtJu6Tzo@mail.gmail.com\0" "From\0Andres Salomon <dilinger@queued.net>\0" "Subject\0Re: [PATCH 5/5] x86: OLPC: add OLPC device-tree support\0" - "Date\0Thu, 21 Oct 2010 21:17:52 +0000\0" + "Date\0Thu, 21 Oct 2010 14:17:52 -0700\0" "To\0Grant Likely <grant.likely@secretlab.ca>\0" "Cc\0devicetree-discuss@lists.ozlabs.org" David Miller <davem@davemloft.net> @@ -170,10 +170,10 @@ "> >> + \302\240 \302\240 const void *args[] = { (void *)node };\n" "> >> + \302\240 \302\240 void *res[] = { &node };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" "> >> +\n" - "> >> + \302\240 \302\240 if (olpc_ofw(\"peer\", args, res) || node = -1)\n" + "> >> + \302\240 \302\240 if (olpc_ofw(\"peer\", args, res) || node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" "> >> +\n" "> >> + \302\240 \302\240 return node;\n" @@ -184,10 +184,10 @@ "> >> + \302\240 \302\240 const void *args[] = { (void *)node };\n" "> >> + \302\240 \302\240 void *res[] = { &node };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" "> >> +\n" - "> >> + \302\240 \302\240 if (olpc_ofw(\"child\", args, res) || node = -1) {\n" + "> >> + \302\240 \302\240 if (olpc_ofw(\"child\", args, res) || node == -1) {\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 pr_err(\"PROM: %s: fetching child failed!\\n\",\n" "> >> __func__);\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return 0;\n" @@ -202,7 +202,7 @@ "> >> + \302\240 \302\240 int len;\n" "> >> + \302\240 \302\240 void *res[] = { &len };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return -1;\n" "> >> +\n" "> >> + \302\240 \302\240 if (olpc_ofw(\"getproplen\", args, res)) {\n" @@ -245,7 +245,7 @@ "> >> +\n" "> >> + \302\240 \302\240 buf[0] = '\\0';\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return -1;\n" "> >> +\n" "> >> + \302\240 \302\240 if (olpc_ofw(\"nextprop\", args, res) || success != 1)\n" @@ -260,7 +260,7 @@ "> >> + \302\240 \302\240 const void *args[] = { (void *)node, buf, (void *)buflen };\n" "> >> + \302\240 \302\240 void *res[] = { len };\n" "> >> +\n" - "> >> + \302\240 \302\240 if (node = -1)\n" + "> >> + \302\240 \302\240 if (node == -1)\n" "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return -1;\n" "> >> +\n" "> >> + \302\240 \302\240 if (olpc_ofw(\"package-to-path\", args, res) || *len < 1)\n" @@ -328,7 +328,7 @@ "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 of_pdt_init_devicetree();\n" "> >> +\n" "> >> \302\240 \302\240 \302\240 proc_device_tree = proc_mkdir(\"device-tree\", NULL);\n" - "> >> \302\240 \302\240 \302\240 if (proc_device_tree = NULL)\n" + "> >> \302\240 \302\240 \302\240 if (proc_device_tree == NULL)\n" "> >> \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 return;\n" "> >> diff --git a/include/linux/of_pdt.h b/include/linux/of_pdt.h\n" "> >> index c65a18a..5b29aef 100644\n" @@ -349,6 +349,10 @@ "> >\n" "> \n" "> \n" - > + "> \n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe sparclinux\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -6a241c25f0ac3e74c25a21db00934ba4c3e6a1b5eb1f5d3b91a0644f10a78800 +3f391ef3ee8ddea92ee54b1c152a7e09bf5fb911dded7443369cc47349b7f423
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.