diff for duplicates of <20100723200901.19485.35303.stgit@angua> diff --git a/a/1.txt b/N1/1.txt index 5ec82af..bed0ec9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -56,16 +56,16 @@ index d61fda8..f3a7b4f 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -320,13 +320,13 @@ unsigned long __init unflatten_dt_node(unsigned long mem, - if ((strcmp(pname, "phandle") == 0) || - (strcmp(pname, "linux,phandle") == 0)) { - if (np->phandle == 0) + if ((strcmp(pname, "phandle") = 0) || + (strcmp(pname, "linux,phandle") = 0)) { + if (np->phandle = 0) - np->phandle = *((u32 *)*p); + np->phandle = be32_to_cpup((__be32*)*p); } /* And we process the "ibm,phandle" property * used in pSeries dynamic device tree * stuff */ - if (strcmp(pname, "ibm,phandle") == 0) + if (strcmp(pname, "ibm,phandle") = 0) - np->phandle = *((u32 *)*p); + np->phandle = be32_to_cpup((__be32 *)*p); pp->name = pname; diff --git a/a/content_digest b/N1/content_digest index 4d8ce8e..b69e5e5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Grant Likely <grant.likely@secretlab.ca>\0" "Subject\0[PATCH] of: Fix phandle endian issues\0" - "Date\0Fri, 23 Jul 2010 14:09:01 -0600\0" + "Date\0Fri, 23 Jul 2010 20:09:01 +0000\0" "To\0jonas@southpole.se" sfr@canb.auug.org.au monstr@monstr.eu @@ -70,20 +70,20 @@ "--- a/drivers/of/fdt.c\n" "+++ b/drivers/of/fdt.c\n" "@@ -320,13 +320,13 @@ unsigned long __init unflatten_dt_node(unsigned long mem,\n" - " \t\t\tif ((strcmp(pname, \"phandle\") == 0) ||\n" - " \t\t\t (strcmp(pname, \"linux,phandle\") == 0)) {\n" - " \t\t\t\tif (np->phandle == 0)\n" + " \t\t\tif ((strcmp(pname, \"phandle\") = 0) ||\n" + " \t\t\t (strcmp(pname, \"linux,phandle\") = 0)) {\n" + " \t\t\t\tif (np->phandle = 0)\n" "-\t\t\t\t\tnp->phandle = *((u32 *)*p);\n" "+\t\t\t\t\tnp->phandle = be32_to_cpup((__be32*)*p);\n" " \t\t\t}\n" " \t\t\t/* And we process the \"ibm,phandle\" property\n" " \t\t\t * used in pSeries dynamic device tree\n" " \t\t\t * stuff */\n" - " \t\t\tif (strcmp(pname, \"ibm,phandle\") == 0)\n" + " \t\t\tif (strcmp(pname, \"ibm,phandle\") = 0)\n" "-\t\t\t\tnp->phandle = *((u32 *)*p);\n" "+\t\t\t\tnp->phandle = be32_to_cpup((__be32 *)*p);\n" " \t\t\tpp->name = pname;\n" " \t\t\tpp->length = sz;\n" " \t\t\tpp->value = (void *)*p;" -42731c4d80fbc06ef757d8f8591b1dcb63a59fbd721a9c58606021b5cc76824a +287b02f81635b1f907a5d3e90b30d5aa7644fb05f97379fc1260996a760072ab
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.