From: Roel Kluin Date: Tue, 3 Nov 2009 19:49:18 +0000 (+0100) Subject: mtd: ensure index is positive X-Git-Tag: v2.6.33-rc1~66^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35016dd7e92cf0eb5ae2e811445dd52320c348d0;p=pandora-kernel.git mtd: ensure index is positive The index is signed, make sure it is not negative when we read the array element. Signed-off-by: Roel Kluin Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed