diff options
| author | David Brownell <[email protected]> | 2009-04-21 19:51:20 -0700 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2009-06-05 17:39:09 +0100 |
| commit | 81d19b04a865f9fcc0ca01b20be806169ff9efb3 (patch) | |
| tree | 1d0a17203cf483b29ca45b0a35703f45198f18c2 /tools/perf/scripts/python | |
| parent | 24430abc88c67e3df2f06c96a6ccd73bda4c92f0 (diff) | |
mtd: nand: don't walk past end of oobfree[]
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 4KiB page chips, it's fairly likely there *won't* be one.
Signed-off-by: David Brownell <[email protected]>
Cc: "Narnakaje, Snehaprabha" <[email protected]>"
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions