diff for duplicates of <1833071.CAa8KOE02B@avalon> diff --git a/a/1.txt b/N1/1.txt index 57476fc..bbb2732 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -96,13 +96,13 @@ resetting the WPF fails, but I need to make sure that the busy loop exits. > > + int ret; > > + > > + for (i = 0; i < ARRAY_SIZE(routes); ++i) { -> > + if (routes[i].id = entity->id) { +> > + if (routes[i].id == entity->id) { > > + entity->route = routes[i].reg; > > + break; > > + } > > + } > > + -> > + if (i = ARRAY_SIZE(routes)) +> > + if (i == ARRAY_SIZE(routes)) > > + return -EINVAL; > > + > > + entity->vsp1 = vsp1; @@ -112,13 +112,13 @@ resetting the WPF fails, but I need to make sure that the busy loop exits. > > + entity->formats = devm_kzalloc(vsp1->dev, > > + num_pads * sizeof(*entity->formats), > > + GFP_KERNEL); -> > + if (entity->formats = NULL) +> > + if (entity->formats == NULL) > > + return -ENOMEM; > > + > > + entity->pads = devm_kzalloc(vsp1->dev, num_pads * sizeof(*entity- >pads), > > + GFP_KERNEL); -> > + if (entity->pads = NULL) +> > + if (entity->pads == NULL) > > + return -ENOMEM; > > + > > + /* Initialize pads. */ @@ -153,7 +153,7 @@ Will do. > > + }; > > + struct v4l2_mbus_framefmt *format; > > + -> > + if (code->pad = LIF_PAD_SINK) { +> > + if (code->pad == LIF_PAD_SINK) { > > + if (code->index >= ARRAY_SIZE(codes)) > > + return -EINVAL; > > + @@ -190,7 +190,7 @@ Will do. > > + }; > > + struct v4l2_mbus_framefmt *format; > > + -> > + if (code->pad = UDS_PAD_SINK) { +> > + if (code->pad == UDS_PAD_SINK) { > > + if (code->index >= ARRAY_SIZE(codes)) > > + return -EINVAL; > > + diff --git a/a/content_digest b/N1/content_digest index a6fb85d..2e5884f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020130724224858.GG12281@valkosipuli.retiisi.org.uk\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH v2 5/5] v4l: Renesas R-Car VSP1 driver\0" - "Date\0Thu, 25 Jul 2013 11:46:54 +0000\0" + "Date\0Thu, 25 Jul 2013 13:46:54 +0200\0" "To\0Sakari Ailus <sakari.ailus@iki.fi>\0" "Cc\0Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>" linux-media@vger.kernel.org @@ -109,13 +109,13 @@ "> > +\tint ret;\n" "> > +\n" "> > +\tfor (i = 0; i < ARRAY_SIZE(routes); ++i) {\n" - "> > +\t\tif (routes[i].id = entity->id) {\n" + "> > +\t\tif (routes[i].id == entity->id) {\n" "> > +\t\t\tentity->route = routes[i].reg;\n" "> > +\t\t\tbreak;\n" "> > +\t\t}\n" "> > +\t}\n" "> > +\n" - "> > +\tif (i = ARRAY_SIZE(routes))\n" + "> > +\tif (i == ARRAY_SIZE(routes))\n" "> > +\t\treturn -EINVAL;\n" "> > +\n" "> > +\tentity->vsp1 = vsp1;\n" @@ -125,13 +125,13 @@ "> > +\tentity->formats = devm_kzalloc(vsp1->dev,\n" "> > +\t\t\t\t num_pads * sizeof(*entity->formats),\n" "> > +\t\t\t\t GFP_KERNEL);\n" - "> > +\tif (entity->formats = NULL)\n" + "> > +\tif (entity->formats == NULL)\n" "> > +\t\treturn -ENOMEM;\n" "> > +\n" "> > +\tentity->pads = devm_kzalloc(vsp1->dev, num_pads * sizeof(*entity-\n" ">pads),\n" "> > +\t\t\t\t GFP_KERNEL);\n" - "> > +\tif (entity->pads = NULL)\n" + "> > +\tif (entity->pads == NULL)\n" "> > +\t\treturn -ENOMEM;\n" "> > +\n" "> > +\t/* Initialize pads. */\n" @@ -166,7 +166,7 @@ "> > +\t};\n" "> > +\tstruct v4l2_mbus_framefmt *format;\n" "> > +\n" - "> > +\tif (code->pad = LIF_PAD_SINK) {\n" + "> > +\tif (code->pad == LIF_PAD_SINK) {\n" "> > +\t\tif (code->index >= ARRAY_SIZE(codes))\n" "> > +\t\t\treturn -EINVAL;\n" "> > +\n" @@ -203,7 +203,7 @@ "> > +\t};\n" "> > +\tstruct v4l2_mbus_framefmt *format;\n" "> > +\n" - "> > +\tif (code->pad = UDS_PAD_SINK) {\n" + "> > +\tif (code->pad == UDS_PAD_SINK) {\n" "> > +\t\tif (code->index >= ARRAY_SIZE(codes))\n" "> > +\t\t\treturn -EINVAL;\n" "> > +\n" @@ -293,4 +293,4 @@ "\n" Laurent Pinchart -e5c0e988825be8bc89c316734ab446658b660e1659a520c56dfb5f84d7991030 +279d68304569a382f80f89c70cf2b470f817f4d1d48d998a77c32dd15588d502
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.