From: Stanislav Fomichev Date: Mon, 7 Feb 2011 20:48:25 +0000 (+0300) Subject: mtd: nand: fix pointer NULL pointer dereferencing X-Git-Tag: v2.6.39-rc1~40^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7912a5e7f37512d8d105785046137435b70347ce;p=pandora-kernel.git mtd: nand: fix pointer NULL pointer dereferencing In 'verify_bbt_descr()', first check the "bd" pointer, then dereference it. Comments amended by Artem. Signed-off-by: Stanislav Fomichev Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed