diff for duplicates of <2101153.GOPGx1zmjS@avalon> diff --git a/a/1.txt b/N1/1.txt index 2aefb4c..4e8c5ea 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -54,7 +54,7 @@ On Thursday 18 July 2013 13:22:09 Sakari Ailus wrote: > > > > + unsigned int i; > > > > + > > > > -> > > > if (stack_top(graph) = NULL) +> > > > if (stack_top(graph) == NULL) > > > > > > > > return NULL; > > > > @@ -65,10 +65,10 @@ On Thursday 18 July 2013 13:22:09 Sakari Ailus wrote: > > > > next = media_entity_other(entity, link); > > > > > > > > - /* Was it the entity we came here from? */ -> > > > - if (next = stack_peek(graph)) { +> > > > - if (next == stack_peek(graph)) { > > > > + /* Is the entity already in the path? */ > > > > + for (i = 1; i < graph->top; ++i) { -> > > > + if (next = stack_peek(graph, i)) +> > > > + if (next == stack_peek(graph, i)) > > > > + break; > > > > + } > > > > + diff --git a/a/content_digest b/N1/content_digest index d806d05..3ead6aa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020130718102209.GA11823@valkosipuli.retiisi.org.uk\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH v2 1/5] media: Fix circular graph traversal\0" - "Date\0Wed, 24 Jul 2013 14:09:09 +0000\0" + "Date\0Wed, 24 Jul 2013 16:09:09 +0200\0" "To\0Sakari Ailus <sakari.ailus@iki.fi>\0" "Cc\0Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>" linux-media@vger.kernel.org @@ -67,7 +67,7 @@ "> > > > +\tunsigned int i;\n" "> > > > +\n" "> > > > \n" - "> > > > \tif (stack_top(graph) = NULL)\n" + "> > > > \tif (stack_top(graph) == NULL)\n" "> > > > \t\n" "> > > > \t\treturn NULL;\n" "> > > > \n" @@ -78,10 +78,10 @@ "> > > > \t\tnext = media_entity_other(entity, link);\n" "> > > > \n" "> > > > -\t\t/* Was it the entity we came here from? */\n" - "> > > > -\t\tif (next = stack_peek(graph)) {\n" + "> > > > -\t\tif (next == stack_peek(graph)) {\n" "> > > > +\t\t/* Is the entity already in the path? */\n" "> > > > +\t\tfor (i = 1; i < graph->top; ++i) {\n" - "> > > > +\t\t\tif (next = stack_peek(graph, i))\n" + "> > > > +\t\t\tif (next == stack_peek(graph, i))\n" "> > > > +\t\t\t\tbreak;\n" "> > > > +\t\t}\n" "> > > > +\n" @@ -137,4 +137,4 @@ "\n" Laurent Pinchart -e08687fcb9519c22741ea5011226f5c8b93fc35ea9432d1b9375462e2845338e +f7e0c65b39ff65c4f639e388cbb59cd37a1f125430c9d1e0217133b814af50f3
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.