From: john.maxin@nokia.com Date: Fri, 6 May 2011 09:17:21 +0000 (+0000) Subject: mtd: onenand: add missing check X-Git-Tag: v3.0-rc1~32^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff3bba61fc19a64a1ca56343e38b6506bef9dea;p=pandora-kernel.git mtd: onenand: add missing check Coverity has reported that inside the function "onenand_block_by_block_erase()" in onenand_base.c, we should add a check to prevent the incrementing of possible NULL value for "region" Signed-off-by: Maxin B. John Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed