diff for duplicates of <511585A9.9090008@gmail.com> diff --git a/a/1.txt b/N1/1.txt index bbd0904..c7ec089 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -194,7 +194,7 @@ Rob > - read_lock(&devtree_lock); > + raw_spin_lock_irqsave(&devtree_lock, flags); > for (; np; np = np->allnext) { -> if (np->full_name && (of_node_cmp(np->full_name, path) == 0) +> if (np->full_name && (of_node_cmp(np->full_name, path) = 0) > && of_node_get(np)) > break; > } @@ -213,7 +213,7 @@ Rob > + raw_spin_lock_irqsave(&devtree_lock, flags); > np = from ? from->allnext : of_allnodes; > for (; np; np = np->allnext) -> if (np->name && (of_node_cmp(np->name, name) == 0) +> if (np->name && (of_node_cmp(np->name, name) = 0) > && of_node_get(np)) > break; > of_node_put(from); @@ -232,7 +232,7 @@ Rob > + raw_spin_lock_irqsave(&devtree_lock, flags); > np = from ? from->allnext : of_allnodes; > for (; np; np = np->allnext) -> if (np->type && (of_node_cmp(np->type, type) == 0) +> if (np->type && (of_node_cmp(np->type, type) = 0) > && of_node_get(np)) > break; > of_node_put(from); @@ -325,7 +325,7 @@ Rob > - read_lock(&devtree_lock); > + raw_spin_lock(&devtree_lock); > for (np = of_allnodes; np; np = np->allnext) -> if (np->phandle == handle) +> if (np->phandle = handle) > break; > of_node_get(np); > - read_unlock(&devtree_lock); @@ -341,7 +341,7 @@ Rob > + raw_spin_lock_irqsave(&devtree_lock, flags); > next = &np->properties; > while (*next) { -> if (strcmp(prop->name, (*next)->name) == 0) { +> if (strcmp(prop->name, (*next)->name) = 0) { > /* duplicate ! don't insert it */ > - write_unlock_irqrestore(&devtree_lock, flags); > + raw_spin_unlock_irqrestore(&devtree_lock, flags); @@ -363,7 +363,7 @@ Rob > + raw_spin_lock_irqsave(&devtree_lock, flags); > next = &np->properties; > while (*next) { -> if (*next == prop) { +> if (*next = prop) { > @@ -1251,7 +1263,7 @@ int of_remove_property(struct device_node *np, struct property *prop) > } > next = &(*next)->next; @@ -381,7 +381,7 @@ Rob > + raw_spin_lock_irqsave(&devtree_lock, flags); > next = &np->properties; > while (*next) { -> if (*next == oldprop) { +> if (*next = oldprop) { > @@ -1305,7 +1317,7 @@ int of_update_property(struct device_node *np, struct property *newprop) > } > next = &(*next)->next; diff --git a/a/content_digest b/N1/content_digest index 4a80fc1..0b25ad1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01360182656-15898-1-git-send-email-paul.gortmaker@windriver.com\0" "From\0Rob Herring <robherring2@gmail.com>\0" "Subject\0Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock\0" - "Date\0Fri, 08 Feb 2013 17:09:29 -0600\0" + "Date\0Fri, 08 Feb 2013 23:09:29 +0000\0" "To\0Paul Gortmaker <paul.gortmaker@windriver.com>\0" "Cc\0Grant Likely <grant.likely@secretlab.ca>" Sam Ravnborg <sam@ravnborg.org> @@ -209,7 +209,7 @@ "> -\tread_lock(&devtree_lock);\n" "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n" "> \tfor (; np; np = np->allnext) {\n" - "> \t\tif (np->full_name && (of_node_cmp(np->full_name, path) == 0)\n" + "> \t\tif (np->full_name && (of_node_cmp(np->full_name, path) = 0)\n" "> \t\t && of_node_get(np))\n" "> \t\t\tbreak;\n" "> \t}\n" @@ -228,7 +228,7 @@ "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n" "> \tnp = from ? from->allnext : of_allnodes;\n" "> \tfor (; np; np = np->allnext)\n" - "> \t\tif (np->name && (of_node_cmp(np->name, name) == 0)\n" + "> \t\tif (np->name && (of_node_cmp(np->name, name) = 0)\n" "> \t\t && of_node_get(np))\n" "> \t\t\tbreak;\n" "> \tof_node_put(from);\n" @@ -247,7 +247,7 @@ "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n" "> \tnp = from ? from->allnext : of_allnodes;\n" "> \tfor (; np; np = np->allnext)\n" - "> \t\tif (np->type && (of_node_cmp(np->type, type) == 0)\n" + "> \t\tif (np->type && (of_node_cmp(np->type, type) = 0)\n" "> \t\t && of_node_get(np))\n" "> \t\t\tbreak;\n" "> \tof_node_put(from);\n" @@ -340,7 +340,7 @@ "> -\tread_lock(&devtree_lock);\n" "> +\traw_spin_lock(&devtree_lock);\n" "> \tfor (np = of_allnodes; np; np = np->allnext)\n" - "> \t\tif (np->phandle == handle)\n" + "> \t\tif (np->phandle = handle)\n" "> \t\t\tbreak;\n" "> \tof_node_get(np);\n" "> -\tread_unlock(&devtree_lock);\n" @@ -356,7 +356,7 @@ "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n" "> \tnext = &np->properties;\n" "> \twhile (*next) {\n" - "> \t\tif (strcmp(prop->name, (*next)->name) == 0) {\n" + "> \t\tif (strcmp(prop->name, (*next)->name) = 0) {\n" "> \t\t\t/* duplicate ! don't insert it */\n" "> -\t\t\twrite_unlock_irqrestore(&devtree_lock, flags);\n" "> +\t\t\traw_spin_unlock_irqrestore(&devtree_lock, flags);\n" @@ -378,7 +378,7 @@ "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n" "> \tnext = &np->properties;\n" "> \twhile (*next) {\n" - "> \t\tif (*next == prop) {\n" + "> \t\tif (*next = prop) {\n" "> @@ -1251,7 +1263,7 @@ int of_remove_property(struct device_node *np, struct property *prop)\n" "> \t\t}\n" "> \t\tnext = &(*next)->next;\n" @@ -396,7 +396,7 @@ "> +\traw_spin_lock_irqsave(&devtree_lock, flags);\n" "> \tnext = &np->properties;\n" "> \twhile (*next) {\n" - "> \t\tif (*next == oldprop) {\n" + "> \t\tif (*next = oldprop) {\n" "> @@ -1305,7 +1317,7 @@ int of_update_property(struct device_node *np, struct property *newprop)\n" "> \t\t}\n" "> \t\tnext = &(*next)->next;\n" @@ -466,4 +466,4 @@ "> {\n" > -19f38fee7849e45567aff3a04f9bf297e41954abab6ce2be8097e26f310fa7e7 +6fe3372c51f78e976d23e5da7af507c6638a4c48938d0a46b6e6272a38e32653
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.