diff for duplicates of <20180122103714.GA25044@mwanda> diff --git a/a/1.txt b/N1/1.txt index c2ed1de..ecd2d52 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,12 +19,12 @@ index 437395a61065..012f4b389c55 100644 - while (i-- >= 0) + while (--i >= 0) - if (camif_mbus_formats[i] = mf->code) + if (camif_mbus_formats[i] == mf->code) break; - - mf->code = camif_mbus_formats[i]; + if (i < 0) + return; - if (pad = CAMIF_SD_PAD_SINK) { + if (pad == CAMIF_SD_PAD_SINK) { v4l_bound_align_image(&mf->width, 8, CAMIF_MAX_PIX_WIDTH, diff --git a/a/content_digest b/N1/content_digest index 030e61b..2ba3705 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] [media] s3c-camif: array underflow in __camif_subdev_try_format()\0" - "Date\0Mon, 22 Jan 2018 10:37:14 +0000\0" + "Date\0Mon, 22 Jan 2018 13:37:14 +0300\0" "To\0Sylwester Nawrocki <sylvester.nawrocki@gmail.com>\0" "Cc\0Mauro Carvalho Chehab <mchehab@kernel.org>" linux-media@vger.kernel.org @@ -29,14 +29,14 @@ " \n" "-\twhile (i-- >= 0)\n" "+\twhile (--i >= 0)\n" - " \t\tif (camif_mbus_formats[i] = mf->code)\n" + " \t\tif (camif_mbus_formats[i] == mf->code)\n" " \t\t\tbreak;\n" "-\n" "-\tmf->code = camif_mbus_formats[i];\n" "+\tif (i < 0)\n" "+\t\treturn;\n" " \n" - " \tif (pad = CAMIF_SD_PAD_SINK) {\n" + " \tif (pad == CAMIF_SD_PAD_SINK) {\n" " \t\tv4l_bound_align_image(&mf->width, 8, CAMIF_MAX_PIX_WIDTH," -8360f799d24816576b243dcfbe73601b9b191535d69df4c7662212f388005dbd +6f8a744de97ec677739db596b70339cacbe1d0db280c712c485ba56cdf3d5972
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.