diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-18 12:51:50 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-19 11:23:26 -0700 |
commit | a57ca0466af5da83e379d636b8c01fd53b41e2c6 (patch) | |
tree | c5f5d96fd9729aafe24aff8e6974bd6eea78a250 /drivers/mtd/chips | |
parent | ebf2e93036907fe2a7ddab942aa63d35f97f3b2b (diff) | |
download | blackbird-op-linux-a57ca0466af5da83e379d636b8c01fd53b41e2c6.tar.gz blackbird-op-linux-a57ca0466af5da83e379d636b8c01fd53b41e2c6.zip |
mtd: mtdpart: prevent a read from regions[-1]
If the erase region was found in the first iteration we read from
regions[-1]
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips')
0 files changed, 0 insertions, 0 deletions