diff for duplicates of <20180518091607.GA32078@mwanda> diff --git a/a/1.txt b/N1/1.txt index c817917..a2e82fc 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,11 +15,11 @@ index af8203b9d1a6..e134a5110c6c 100644 - entry = NULL; for (i = 0; i < ARRAY_SIZE(entries); ++i) { entry = entries + i; - if (entry->model_id == model_id) + if (entry->model_id = model_id) break; } - if (!entry) -+ if (i == ARRAY_SIZE(entries)) ++ if (i = ARRAY_SIZE(entries)) return -ENODEV; memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, diff --git a/a/content_digest b/N1/content_digest index 4f3589f..e99b40c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] ALSA: dice: fix a bounds check in snd_dice_detect_tcelectronic_formats()\0" - "Date\0Fri, 18 May 2018 12:16:07 +0300\0" + "Date\0Fri, 18 May 2018 09:16:07 +0000\0" "To\0Clemens Ladisch <clemens@ladisch.de>\0" "Cc\0alsa-devel@alsa-project.org" Takashi Sakamoto <o-takashi@sakamocchi.jp> @@ -25,13 +25,13 @@ "-\tentry = NULL;\n" " \tfor (i = 0; i < ARRAY_SIZE(entries); ++i) {\n" " \t\tentry = entries + i;\n" - " \t\tif (entry->model_id == model_id)\n" + " \t\tif (entry->model_id = model_id)\n" " \t\t\tbreak;\n" " \t}\n" "-\tif (!entry)\n" - "+\tif (i == ARRAY_SIZE(entries))\n" + "+\tif (i = ARRAY_SIZE(entries))\n" " \t\treturn -ENODEV;\n" " \n" " \tmemcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs," -bab407f7e36256151985f6fed8f2de6ad1f63be9b48582beedc707eef0debaf0 +be9f96dbd96cf7dae7ef6821de3ee2a919cb4c3473e9beab0a5c8ca54dfe900e
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.