diff for duplicates of <2263372.8nCBHctlWT@avalon> diff --git a/a/1.txt b/N1/1.txt index 41e9130..e81d43c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -103,7 +103,7 @@ might be a better choice. > > + > > + /* Get the next endpoint and parse its link. */ > > + next = display_of_get_next_endpoint(node, ep); -> > + if (next = NULL) +> > + if (next == NULL) > > + break; > > + > > + of_node_put(ep); @@ -142,16 +142,16 @@ might be a better choice. > > + * it goes out of scope of the entities handled by the notifier. > > + */ > > + list_for_each_entry(ent, entities, list) { -> > + if (ent->dev->of_node = link.remote_node) { +> > + if (ent->dev->of_node == link.remote_node) { > > + remote = &ent->entity; > > + break; > > + } > > + } > > + -> > + if (root->dev->of_node = link.remote_node) +> > + if (root->dev->of_node == link.remote_node) > > + remote = &root->entity; > > + -> > + if (remote = NULL) { +> > + if (remote == NULL) { > > + dev_dbg(dev, "no entity found for %s\n", > > + link.remote_node->full_name); > > + display_of_put_link(&link); @@ -208,7 +208,7 @@ might be a better choice. > + > num_pads = num_sinks + num_sources; > pads = kzalloc(sizeof(*pads) * num_pads, GFP_KERNEL); -> if (pads = NULL) +> if (pads == NULL) > @@ -665,7 +668,7 @@ static int display_of_entity_link_entity(struct device > *dev, struct display_entity *root) > { @@ -221,18 +221,18 @@ might be a better choice. > @@ -727,13 +730,13 @@ static int display_of_entity_link_entity(struct device > *dev, * it goes out of scope of the entities handled by the notifier. */ > list_for_each_entry(ent, entities, list) { -> - if (ent->dev->of_node = link.remote_node) { -> + if (ent->of_node = link.remote_node) { +> - if (ent->dev->of_node == link.remote_node) { +> + if (ent->of_node == link.remote_node) { > remote = &ent->entity; > break; > } > } > -> - if (root && root->dev->of_node = link.remote_node) -> + if (root && root->of_node = link.remote_node) +> - if (root && root->dev->of_node == link.remote_node) +> + if (root && root->of_node == link.remote_node) > remote = &root->entity; > -> if (remote = NULL) { +> if (remote == NULL) { > diff --git a/drivers/video/display/display-notifier.c > b/drivers/video/display/display-notifier.c index a3998c7..d0da6e5 100644 > --- a/drivers/video/display/display-notifier.c @@ -261,8 +261,8 @@ might be a better choice. > - dev->of_node->full_name, match->match.dt.node->full_name); > + entity->of_node->full_name, match->match.dt.node->full_name); > -> - return match->match.dt.node = dev->of_node; -> + return match->match.dt.node = entity->of_node; +> - return match->match.dt.node == dev->of_node; +> + return match->match.dt.node == entity->of_node; > } > > static struct display_entity_match * diff --git a/a/content_digest b/N1/content_digest index c37e0ed..77a272f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\01378304498.5721.42.camel@pizza.hi.pengutronix.de\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH/RFC v3 06/19] video: display: OF support\0" - "Date\0Wed, 11 Sep 2013 11:33:27 +0000\0" + "Date\0Wed, 11 Sep 2013 13:33:27 +0200\0" "To\0Philipp Zabel <p.zabel@pengutronix.de>\0" "Cc\0Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>" dri-devel@lists.freedesktop.org @@ -120,7 +120,7 @@ "> > +\n" "> > +\t\t/* Get the next endpoint and parse its link. */\n" "> > +\t\tnext = display_of_get_next_endpoint(node, ep);\n" - "> > +\t\tif (next = NULL)\n" + "> > +\t\tif (next == NULL)\n" "> > +\t\t\tbreak;\n" "> > +\n" "> > +\t\tof_node_put(ep);\n" @@ -159,16 +159,16 @@ "> > +\t\t * it goes out of scope of the entities handled by the notifier.\n" "> > +\t\t */\n" "> > +\t\tlist_for_each_entry(ent, entities, list) {\n" - "> > +\t\t\tif (ent->dev->of_node = link.remote_node) {\n" + "> > +\t\t\tif (ent->dev->of_node == link.remote_node) {\n" "> > +\t\t\t\tremote = &ent->entity;\n" "> > +\t\t\t\tbreak;\n" "> > +\t\t\t}\n" "> > +\t\t}\n" "> > +\n" - "> > +\t\tif (root->dev->of_node = link.remote_node)\n" + "> > +\t\tif (root->dev->of_node == link.remote_node)\n" "> > +\t\t\tremote = &root->entity;\n" "> > +\n" - "> > +\t\tif (remote = NULL) {\n" + "> > +\t\tif (remote == NULL) {\n" "> > +\t\t\tdev_dbg(dev, \"no entity found for %s\\n\",\n" "> > +\t\t\t\tlink.remote_node->full_name);\n" "> > +\t\t\tdisplay_of_put_link(&link);\n" @@ -225,7 +225,7 @@ "> +\n" "> \tnum_pads = num_sinks + num_sources;\n" "> \tpads = kzalloc(sizeof(*pads) * num_pads, GFP_KERNEL);\n" - "> \tif (pads = NULL)\n" + "> \tif (pads == NULL)\n" "> @@ -665,7 +668,7 @@ static int display_of_entity_link_entity(struct device\n" "> *dev, struct display_entity *root)\n" "> {\n" @@ -238,18 +238,18 @@ "> @@ -727,13 +730,13 @@ static int display_of_entity_link_entity(struct device\n" "> *dev, * it goes out of scope of the entities handled by the notifier. */\n" "> \t\tlist_for_each_entry(ent, entities, list) {\n" - "> -\t\t\tif (ent->dev->of_node = link.remote_node) {\n" - "> +\t\t\tif (ent->of_node = link.remote_node) {\n" + "> -\t\t\tif (ent->dev->of_node == link.remote_node) {\n" + "> +\t\t\tif (ent->of_node == link.remote_node) {\n" "> \t\t\t\tremote = &ent->entity;\n" "> \t\t\t\tbreak;\n" "> \t\t\t}\n" "> \t\t}\n" "> \n" - "> -\t\tif (root && root->dev->of_node = link.remote_node)\n" - "> +\t\tif (root && root->of_node = link.remote_node)\n" + "> -\t\tif (root && root->dev->of_node == link.remote_node)\n" + "> +\t\tif (root && root->of_node == link.remote_node)\n" "> \t\t\tremote = &root->entity;\n" "> \n" - "> \t\tif (remote = NULL) {\n" + "> \t\tif (remote == NULL) {\n" "> diff --git a/drivers/video/display/display-notifier.c\n" "> b/drivers/video/display/display-notifier.c index a3998c7..d0da6e5 100644\n" "> --- a/drivers/video/display/display-notifier.c\n" @@ -278,8 +278,8 @@ "> -\t\t dev->of_node->full_name, match->match.dt.node->full_name);\n" "> +\t\t entity->of_node->full_name, match->match.dt.node->full_name);\n" "> \n" - "> -\treturn match->match.dt.node = dev->of_node;\n" - "> +\treturn match->match.dt.node = entity->of_node;\n" + "> -\treturn match->match.dt.node == dev->of_node;\n" + "> +\treturn match->match.dt.node == entity->of_node;\n" "> }\n" "> \n" "> static struct display_entity_match *\n" @@ -318,4 +318,4 @@ "\n" Laurent Pinchart -c78490e23925c445cc992a6a8373f41abf7d5ab6c8bbdcc16c78423fc36c8233 +ea052873be7d5caa14482944efec57055c34c5cc818add4639cdc890062cfcf4
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.