* Patch "mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome" has been added to the 3.14-stable tree
@ 2015-07-28 17:40 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-07-28 17:40 UTC (permalink / raw)
To: b.brezillon.dev, computersforpeace, gregkh, slash.tmp
Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mtd-nand-fix-erroneous-read_buf-call-in-nand_write_page_raw_syndrome.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 60c3bc1fd6f1fa40b415ef5b83e2948a89a3d79c Mon Sep 17 00:00:00 2001
From: Boris BREZILLON <b.brezillon.dev@gmail.com>
Date: Sat, 1 Feb 2014 19:10:28 +0100
Subject: mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome
From: Boris BREZILLON <b.brezillon.dev@gmail.com>
commit 60c3bc1fd6f1fa40b415ef5b83e2948a89a3d79c upstream.
read_buf is called in place of write_buf in the
nand_write_page_raw_syndrome function.
Signed-off-by: Boris BREZILLON <b.brezillon.dev@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Mason <slash.tmp@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/mtd/nand/nand_base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2000,7 +2000,7 @@ static int nand_write_page_raw_syndrome(
oob += chip->ecc.prepad;
}
- chip->read_buf(mtd, oob, eccbytes);
+ chip->write_buf(mtd, oob, eccbytes);
oob += eccbytes;
if (chip->ecc.postpad) {
Patches currently in stable-queue which might be from b.brezillon.dev@gmail.com are
queue-3.14/mtd-nand-fix-erroneous-read_buf-call-in-nand_write_page_raw_syndrome.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-28 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 17:40 Patch "mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome" has been added to the 3.14-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).