diff for duplicates of <20101004192801.GG5692@bicker> diff --git a/a/1.txt b/N1/1.txt index 015a1cf..017a836 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,10 +13,10 @@ index 45f0ac8..24c3a78 100644 } - for (i = 0; i < TVNORMS; i++) + for (i = 0; i < TVNORMS; i++) { - if (fixup = tvnorms[i].id) + if (fixup == tvnorms[i].id) break; + } -+ if (i = TVNORMS) ++ if (i == TVNORMS) + return -EINVAL; } @@ -30,7 +30,7 @@ index 45f0ac8..24c3a78 100644 if (card_in(dev, n).tv) break; + } -+ if (n = SAA7134_INPUT_MAX) ++ if (n == SAA7134_INPUT_MAX) + return -EINVAL; if (NULL != card_in(dev, n).name) { strcpy(t->name, "Television"); diff --git a/a/content_digest b/N1/content_digest index 2fa9309..6210dfd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] V4L/DVB: saa7134: add test after for loop\0" - "Date\0Mon, 04 Oct 2010 19:28:01 +0000\0" + "Date\0Mon, 4 Oct 2010 21:28:01 +0200\0" "To\0Mauro Carvalho Chehab <mchehab@infradead.org>\0" "Cc\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>" Hans Verkuil <hverkuil@xs4all.nl> @@ -25,10 +25,10 @@ " \t\t}\n" "-\t\tfor (i = 0; i < TVNORMS; i++)\n" "+\t\tfor (i = 0; i < TVNORMS; i++) {\n" - " \t\t\tif (fixup = tvnorms[i].id)\n" + " \t\t\tif (fixup == tvnorms[i].id)\n" " \t\t\t\tbreak;\n" "+\t\t}\n" - "+\t\tif (i = TVNORMS)\n" + "+\t\tif (i == TVNORMS)\n" "+\t\t\treturn -EINVAL;\n" " \t}\n" " \n" @@ -42,10 +42,10 @@ " \t\tif (card_in(dev, n).tv)\n" " \t\t\tbreak;\n" "+\t}\n" - "+\tif (n = SAA7134_INPUT_MAX)\n" + "+\tif (n == SAA7134_INPUT_MAX)\n" "+\t\treturn -EINVAL;\n" " \tif (NULL != card_in(dev, n).name) {\n" " \t\tstrcpy(t->name, \"Television\");\n" " \t\tt->type = V4L2_TUNER_ANALOG_TV;" -97dded070fad23c5dd2a10692b6671b314aef0915fb54c5332f2c19440908e86 +5cac74fcab2654639889ba9c07816385acd943fb8883e4fba1ee3b0db0ed178b
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.