From: Roel Kluin Date: Fri, 18 Sep 2009 19:51:49 +0000 (-0700) Subject: mtd: mtdconcat: prevent a read from eraseregions[-1] X-Git-Tag: v2.6.32-rc1~160^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf2e93036907fe2a7ddab942aa63d35f97f3b2b;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed