[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <acd2a5931002050056l119844f5s30c30ccfc1a15596@mail.gmail.com>
Date: Fri, 5 Feb 2010 09:56:02 +0100
From: Vitaly Wool <vitalywool@...il.com>
To: Maxim Levitsky <maximlevitsky@...il.com>
Cc: David Woodhouse <dwmw2@...radead.org>,
Alex Dubov <oakad@...oo.com>,
Artem Bityutskiy <dedekind1@...il.com>,
joern <joern@...fs.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-mtd <linux-mtd@...ts.infradead.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 10/17] MTD: nand: make reads using MTD_OOB_RAW affect only
ECC validation
On Fri, Feb 5, 2010 at 12:30 AM, Maxim Levitsky <maximlevitsky@...il.com> wrote:
> This changes the behavier of MTD_OOB_RAW. It used to read both OOB and data
> to the data buffer, however you would still need to specify the dummy oob buffer.
>
> This is only used in one place, but makes it hard to read data+oob without ECC
> test, thus I removed that behavier, and fixed the user.
>
> Now MTD_OOB_RAW behaves like MTD_OOB_PLACE, but doesn't do ECC validation
>
> Signed-off-by: Maxim Levitsky <maximlevitsky@...il.com>
> ---
> drivers/mtd/nand/nand_base.c | 5 -----
> drivers/mtd/nand/nand_bbt.c | 26 ++++++++++++++++++++++----
> include/linux/mtd/mtd.h | 4 +---
> 3 files changed, 23 insertions(+), 12 deletions(-)
Could you please provide a clearer description of why you think this
is necessary?
Thanks,
Vitaly
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists