[PATCH] mtd: nand: fix erronous read_buf call in nand_write_page_raw_syndrome

Brian Norris computersforpeace at gmail.com
Tue Feb 11 13:44:26 EST 2014


On Sat, Feb 01, 2014 at 07:10:28PM +0100, Boris BREZILLON wrote:
> 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 at gmail.com>

Good catch! I guess no one really tests this function. I can understand
that, since it's in the "raw" version (i.e., without ECC), which should
really only be used for special debugging purposes. And many drivers
don't use the defaults for page writes.

Pushed to l2-mtd.git.

Brian



More information about the linux-mtd mailing list