diff for duplicates of <523074A3.407@xs4all.nl> diff --git a/a/1.txt b/N1/1.txt index a52976b..07e4159 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -124,7 +124,7 @@ Regards, >>> + >>> + /* 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); @@ -163,16 +163,16 @@ Regards, >>> + * 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); @@ -229,7 +229,7 @@ Regards, >> + >> 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) >> { @@ -242,18 +242,18 @@ Regards, >> @@ -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 @@ -282,8 +282,8 @@ Regards, >> - 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 29d9c05..c310aed 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\02263372.8nCBHctlWT@avalon\0" "From\0Hans Verkuil <hverkuil@xs4all.nl>\0" "Subject\0Re: [PATCH/RFC v3 06/19] video: display: OF support\0" - "Date\0Wed, 11 Sep 2013 13:48:19 +0000\0" + "Date\0Wed, 11 Sep 2013 15:48:19 +0200\0" "To\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Cc\0Philipp Zabel <p.zabel@pengutronix.de>" Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> @@ -142,7 +142,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" @@ -181,16 +181,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" @@ -247,7 +247,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" @@ -260,18 +260,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" @@ -300,8 +300,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" @@ -336,4 +336,4 @@ ">>\n" ">> \tchar name[32];" -4bde922c846dd23f36db2061cef32ba4935e88b25f657106926c273d95c1d848 +5b4a19aad13db3ff83cc02c1ed8be22a9ff7c2c9a87ca476a01c84b86d40011a
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.