[PATCH 6/7] mtd: nand: sanity checks of ecc strength in nand_scan_tail()
Mike Dunn
mikedunn at newsguy.com
Wed Apr 25 11:08:53 EDT 2012
On 04/24/2012 09:09 PM, Brian Norris wrote:
>
> I think you only need this last check (under ECC_HW_SYNDROME), since
> the ECC_HW and ECC_HW_OOB_FIRST cases necessarily fall through to
> ECC_HW_SYNDROME case. (Note the lack of 'break;' statements in the
> first two 'case's.)
Oops... you're right, I did miss that. This should have been a much simpler
patch. Thanks!
Mike
More information about the linux-mtd
mailing list