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

diff --git a/a/1.txt b/N1/1.txt
index 09a763b..e86cefb 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,7 +12,7 @@ index e44e4b5..bb51cfb 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;
 @@ -1163,7 +1163,9 @@ zc0301_vidioc_s_ctrl(struct zc0301_device* cam, void __user * arg)
@@ -21,7 +21,7 @@ index e44e4b5..bb51cfb 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 bb9298c..0eca563 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[patch] video/zc0301: improve error handling\0"
- "Date\0Sun, 28 Mar 2010 11:49:20 +0000\0"
+ "Date\0Sun, 28 Mar 2010 14:49:20 +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"
  "@@ -1163,7 +1163,9 @@ zc0301_vidioc_s_ctrl(struct zc0301_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;"
 
-7f3175b7e2001eb07d12711e5195158a8e2f60f2ed67178f79fbc1452b249f18
+e0109dc8a873267241ab9e4ab77e8d727a0f28d7df590ad23aa7efac0d235891

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.