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: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
Showing
想要评论请 注册 或 登录