diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-18 12:51:49 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-19 11:18:46 -0700 |
commit | ebf2e93036907fe2a7ddab942aa63d35f97f3b2b (patch) | |
tree | 96661a766ddfa291782bded4c966c82445ca42eb /drivers/staging/pata_rdc | |
parent | 4c1e6b2ce13b154a4a69cee220c98976f4b784df (diff) |
mtd: mtdconcat: prevent a read from eraseregions[-1]
If the erase region was found in the first iteration we read from
eraseregions[-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/staging/pata_rdc')
0 files changed, 0 insertions, 0 deletions