All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100328114945.GV5069@bicker>

diff --git a/a/1.txt b/N1/1.txt
index 98e103b..4beecd5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -13,7 +13,7 @@ index e6c23d5..a5cfc76 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;
 @@ -1723,7 +1723,9 @@ et61x251_vidioc_s_ctrl(struct et61x251_device* cam, void __user * arg)
@@ -22,7 +22,7 @@ index e6c23d5..a5cfc76 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 6d7efd4..f6eef30 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[patch] video/et61x251: improve error handling\0"
- "Date\0Sun, 28 Mar 2010 11:49:45 +0000\0"
+ "Date\0Sun, 28 Mar 2010 14:49:45 +0300\0"
  "To\0Luca Risolia <luca.risolia@studio.unibo.it>\0"
  "Cc\0Mauro Carvalho Chehab <mchehab@infradead.org>"
   Laurent Pinchart <laurent.pinchart@ideasonboard.com>
@@ -27,7 +27,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"
  "@@ -1723,7 +1723,9 @@ et61x251_vidioc_s_ctrl(struct et61x251_device* cam, void __user * arg)\n"
@@ -36,9 +36,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;"
 
-15ec28fe9d89a0f460a271ede47da08dd6c8195f89edf407fb222320a71e78d8
+8854c611aafe35998d2095f7ed15bce0627e9ae12c15fd0b09d682bb74498cb0

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.