diff for duplicates of <568056A1.8050602@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index d324645..dc19dd1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,12 +22,12 @@ index 9400e99..cd7d6ef 100644 for (i = 0; i < BTTV_TVNORMS; i++) if (id & bttv_tvnorms[i].v4l2_id) break; -- if (i = BTTV_TVNORMS) { +- if (i == BTTV_TVNORMS) { - err = -EINVAL; - goto err; - } - -+ if (i = BTTV_TVNORMS) ++ if (i == BTTV_TVNORMS) + return -EINVAL; btv->std = id; set_tvnorm(btv, i); diff --git a/a/content_digest b/N1/content_digest index 9d754c9..6e15807 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0566ABCD9.1060404@users.sourceforge.net\0" "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" "Subject\0[PATCH] [media] bttv: Returning only value constants in two functions\0" - "Date\0Sun, 27 Dec 2015 21:22:41 +0000\0" + "Date\0Sun, 27 Dec 2015 22:22:41 +0100\0" "To\0linux-media@vger.kernel.org" " Mauro Carvalho Chehab <mchehab@osg.samsung.com>\0" "Cc\0LKML <linux-kernel@vger.kernel.org>" @@ -33,12 +33,12 @@ " \tfor (i = 0; i < BTTV_TVNORMS; i++)\n" " \t\tif (id & bttv_tvnorms[i].v4l2_id)\n" " \t\t\tbreak;\n" - "-\tif (i = BTTV_TVNORMS) {\n" + "-\tif (i == BTTV_TVNORMS) {\n" "-\t\terr = -EINVAL;\n" "-\t\tgoto err;\n" "-\t}\n" "-\n" - "+\tif (i = BTTV_TVNORMS)\n" + "+\tif (i == BTTV_TVNORMS)\n" "+\t\treturn -EINVAL;\n" " \tbtv->std = id;\n" " \tset_tvnorm(btv, i);\n" @@ -80,4 +80,4 @@ "-- \n" 2.6.3 -36cc2cab0692bf6fe941a38c2ef84b77fae6a1db1897034429db76f4fc7c17e4 +9f80e96d7a4ea680d4a1b316fda620e5e561ec6452d2092ce504fe51f09bed2f
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.