[patch/RESEND 2.6.30-rc2 1/3] NAND: don't walk past end of oobfree[]

Artem Bityutskiy dedekind at infradead.org
Wed Apr 22 03:45:24 EDT 2009


On Tue, 2009-04-21 at 19:51 -0700, David Brownell wrote:
> From: David Brownell <dbrownell at users.sourceforge.net>
> 
> Resolve issue noted by Sneha:  when computing oobavail from
> the list of free areas in the OOB, don't assume there will
> always be an unused slot at the end.  With ECC_HW_SYNDROME
> and 4KB page chips, it's fairly likely there *won't* be one.
> 
> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> Cc: "Narnakaje, Snehaprabha" <nsnehaprabha at ti.com>"

Hi,

not that I tested your stuff, but it looks OK for me. So I've
added the series to my l2-mtd tree, which means I'll ping
dwmw2 about pulling it at some point. No guarantees, though.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list