[PATCH upstream] nand: nand_base: Always initialise oob_poi before writing OOB data

THOMSON, Adam (Adam) adam.thomson at alcatel-lucent.com
Wed Jun 22 11:40:09 EDT 2011


Adam Thomson Wrote:
> 
> The original request was for a stable patch, and that would 
> be accepted if I provided a proper tidy fix also. To be fair 
> it was a few weeks ago now that that mail was sent. :-) 
> Anyway, as it turns out the tidy fix was almost identical, 
> and we don't need the memset as far as I can tell from 
> reviewing code and from testing. Will run up your patch today 
> to verify your additional change, but should be fine.
> 

Have tested the updated patch on hardware, and all seems good.
No problems with OOB corruption, and mtd tests run without failure.

Thanks

Adam


More information about the linux-mtd mailing list