Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

From: Marek Vasut
Date: Wed Aug 15 2012 - 08:09:08 EST


Dear Huang Shijie,

> ä 2012å08æ15æ 15:06, Shmulik Ladkani åé:
> > Hi Huang,
> >
> > On Tue, 14 Aug 2012 22:38:45 -0400 Huang Shijie<shijie8@xxxxxxxxx> wrote:
> >> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> >> index 588e989..0ca7257 100644
> >> --- a/drivers/mtd/nand/Kconfig
> >> +++ b/drivers/mtd/nand/Kconfig
> >> @@ -22,15 +22,6 @@ menuconfig MTD_NAND
> >>
> >> if MTD_NAND
> >>
> >> -config MTD_NAND_VERIFY_WRITE
> >> - bool "Verify NAND page writes"
> >> - help
> >> - This adds an extra check when data is written to the flash. The
> >> - NAND flash device internally checks only bits transitioning
> >> - from 1 to 0. There is a rare possibility that even though the
> >> - device thinks the write was successful, a bit could have been
> >> - flipped accidentally due to device wear or something else.
> >> -
> >
> > There are some defconfig files which set CONFIG_MTD_NAND_VERIFY_WRITE.
> >
> > I guess you should submit an accompanying patch that removes
> > CONFIG_MTD_NAND_VERIFY_WRITE from all defconfig files.
>
> thanks a lot.
>
> I will send out a separate patch to fix it.

I'd still prefer for this to be rather fixed. It seems to be able to find some
obvious mistakes etc.

[...]

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/