Skip to content
Commit ebf2e930 authored by Roel Kluin's avatar Roel Kluin Committed by David Woodhouse
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 4c1e6b2c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment