From: Ramax Lo Date: Thu, 14 Jan 2010 02:15:05 +0000 (+0800) Subject: ARM: S3C: NAND: Check the existence of nr_map before copying X-Git-Tag: v2.6.33-rc5~63^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b96918a974fcd6c9e752cc8b28157f776c601d3;p=pandora-kernel.git ARM: S3C: NAND: Check the existence of nr_map before copying Since the structure field nr_map is optional, we need to check whether the chip number map is provided to avoid unexpected NULL pointer exception. Signed-off-by: Ramax Lo Signed-off-by: Ben Dooks --- Reading git-diff-tree failed