]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: check for valid pdata inside plat_nand
authorJohn Crispin <blogic@openwrt.org>
Sun, 22 Jul 2012 06:59:57 +0000 (08:59 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 25 Aug 2012 11:33:55 +0000 (14:33 +0300)
commite00e00b43507eec77ecfa14094b36554d3bc464d
tree59e5b02a70bd84c1f513d61e6f15ae110f70db7e
parent3ed62fa0f7ebddcc922232cba4bf0002d743e587
mtd: check for valid pdata inside plat_nand

If plat_nand loads and the platform_data is not properly set it will segfault.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/plat_nand.c