From: Dan Carpenter Date: Mon, 17 Feb 2014 20:03:08 +0000 (+0300) Subject: mtd: nuc900_nand: NULL dereference in nuc900_nand_enable() X-Git-Tag: v3.15-rc1~65^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c69dbbf3335a21aae74376d7e5db50a486d52439;p=pandora-kernel.git mtd: nuc900_nand: NULL dereference in nuc900_nand_enable() Instead of writing to "nand->reg + REG_FMICSR" we write to "REG_FMICSR" which is NULL and not a valid register. Fixes: 8bff82cbc308 ('mtd: add nand support for w90p910 (v2)') Signed-off-by: Dan Carpenter Signed-off-by: Brian Norris --- Reading git-diff-tree failed