diff for duplicates of <20100328115005.GW5069@bicker> diff --git a/a/1.txt b/N1/1.txt index e2608e8..f64ef9e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -12,7 +12,7 @@ index cbf8087..28e19da 100644 - for (i = 0; i < ARRAY_SIZE(s->qctrl); i++) + for (i = 0; i < ARRAY_SIZE(s->qctrl); i++) { - if (ctrl.id = s->qctrl[i].id) { + if (ctrl.id == s->qctrl[i].id) { if (s->qctrl[i].flags & V4L2_CTRL_FLAG_DISABLED) return -EINVAL; @@ -2305,7 +2305,9 @@ sn9c102_vidioc_s_ctrl(struct sn9c102_device* cam, void __user * arg) @@ -21,7 +21,7 @@ index cbf8087..28e19da 100644 } - + } -+ if (i = ARRAY_SIZE(s->qctrl)) ++ if (i == ARRAY_SIZE(s->qctrl)) + return -EINVAL; if ((err = s->set_ctrl(cam, &ctrl))) return err; diff --git a/a/content_digest b/N1/content_digest index 4749d7b..194fbba 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] video/sn9c102: improve error handling\0" - "Date\0Sun, 28 Mar 2010 11:50:05 +0000\0" + "Date\0Sun, 28 Mar 2010 14:50:05 +0300\0" "To\0Luca Risolia <luca.risolia@studio.unibo.it>\0" "Cc\0Mauro Carvalho Chehab <mchehab@infradead.org>" Laurent Pinchart <laurent.pinchart@ideasonboard.com> @@ -26,7 +26,7 @@ " \n" "-\tfor (i = 0; i < ARRAY_SIZE(s->qctrl); i++)\n" "+\tfor (i = 0; i < ARRAY_SIZE(s->qctrl); i++) {\n" - " \t\tif (ctrl.id = s->qctrl[i].id) {\n" + " \t\tif (ctrl.id == s->qctrl[i].id) {\n" " \t\t\tif (s->qctrl[i].flags & V4L2_CTRL_FLAG_DISABLED)\n" " \t\t\t\treturn -EINVAL;\n" "@@ -2305,7 +2305,9 @@ sn9c102_vidioc_s_ctrl(struct sn9c102_device* cam, void __user * arg)\n" @@ -35,9 +35,9 @@ " \t\t}\n" "-\n" "+\t}\n" - "+\tif (i = ARRAY_SIZE(s->qctrl))\n" + "+\tif (i == ARRAY_SIZE(s->qctrl))\n" "+\t\treturn -EINVAL;\n" " \tif ((err = s->set_ctrl(cam, &ctrl)))\n" " \t\treturn err;" -243d2e58018f90acb0a776a51b890c5a941fad3fa24a7149d057556502a9b657 +d01b036edd960db888401a0830a64e3813cbd92cdb77088b20a41e82c458851f
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.