diff for duplicates of <20190201083009.GD8459@kadam> diff --git a/a/1.txt b/N1/1.txt index acc0ce8..0ecc3f7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,8 +18,14 @@ index 94c90be7e1e0..0d93d0b9c1af 100644 - for (i = 0; i < sizeof(meson_ecc); i++) { + for (i = 0; i < ARRAY_SIZE(meson_ecc); i++) { - if (meson_ecc[i].strength = nand->ecc.strength) { + if (meson_ecc[i].strength == nand->ecc.strength) { meson_chip->bch_mode = meson_ecc[i].bch; return 0; -- 2.17.1 + + +_______________________________________________ +linux-amlogic mailing list +linux-amlogic@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-amlogic diff --git a/a/content_digest b/N1/content_digest index 721e99b..e370f39 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH 2/3] mtd: rawnand: meson: fix a loop in meson_nand_bch_mode()\0" - "Date\0Fri, 01 Feb 2019 08:30:09 +0000\0" + "Date\0Fri, 1 Feb 2019 11:30:09 +0300\0" "To\0Liang Yang <liang.yang@amlogic.com>\0" "Cc\0Boris Brezillon <bbrezillon@kernel.org>" Richard Weinberger <richard@nod.at> @@ -34,10 +34,16 @@ " \n" "-\tfor (i = 0; i < sizeof(meson_ecc); i++) {\n" "+\tfor (i = 0; i < ARRAY_SIZE(meson_ecc); i++) {\n" - " \t\tif (meson_ecc[i].strength = nand->ecc.strength) {\n" + " \t\tif (meson_ecc[i].strength == nand->ecc.strength) {\n" " \t\t\tmeson_chip->bch_mode = meson_ecc[i].bch;\n" " \t\t\treturn 0;\n" "-- \n" - 2.17.1 + "2.17.1\n" + "\n" + "\n" + "_______________________________________________\n" + "linux-amlogic mailing list\n" + "linux-amlogic@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-amlogic -d196275dbe46ae44081d9eb4b4d34095e9453ed518074a07974f30a7552338af +39b57f932374c25a3b020f47dd741253a9066727e6aba15e94a114e611180731
diff --git a/a/1.txt b/N2/1.txt index acc0ce8..3cf27b2 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -18,8 +18,13 @@ index 94c90be7e1e0..0d93d0b9c1af 100644 - for (i = 0; i < sizeof(meson_ecc); i++) { + for (i = 0; i < ARRAY_SIZE(meson_ecc); i++) { - if (meson_ecc[i].strength = nand->ecc.strength) { + if (meson_ecc[i].strength == nand->ecc.strength) { meson_chip->bch_mode = meson_ecc[i].bch; return 0; -- 2.17.1 + + +______________________________________________________ +Linux MTD discussion mailing list +http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/a/content_digest b/N2/content_digest index 721e99b..23e1fe0 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH 2/3] mtd: rawnand: meson: fix a loop in meson_nand_bch_mode()\0" - "Date\0Fri, 01 Feb 2019 08:30:09 +0000\0" + "Date\0Fri, 1 Feb 2019 11:30:09 +0300\0" "To\0Liang Yang <liang.yang@amlogic.com>\0" "Cc\0Boris Brezillon <bbrezillon@kernel.org>" Richard Weinberger <richard@nod.at> @@ -34,10 +34,15 @@ " \n" "-\tfor (i = 0; i < sizeof(meson_ecc); i++) {\n" "+\tfor (i = 0; i < ARRAY_SIZE(meson_ecc); i++) {\n" - " \t\tif (meson_ecc[i].strength = nand->ecc.strength) {\n" + " \t\tif (meson_ecc[i].strength == nand->ecc.strength) {\n" " \t\t\tmeson_chip->bch_mode = meson_ecc[i].bch;\n" " \t\t\treturn 0;\n" "-- \n" - 2.17.1 + "2.17.1\n" + "\n" + "\n" + "______________________________________________________\n" + "Linux MTD discussion mailing list\n" + http://lists.infradead.org/mailman/listinfo/linux-mtd/ -d196275dbe46ae44081d9eb4b4d34095e9453ed518074a07974f30a7552338af +5a1fd8e03bdf99ba2333665a489a6444b72395f9dca8bbebcdde8430a80aca40
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.