commit | 8a02d63992f84c12affba06e145286ae9ab67dcc | [log] [tgz] |
---|---|---|
author | Kevin Smith <kevin.smith@elecsyscorp.com> | Thu Jan 14 16:01:36 2016 +0000 |
committer | Scott Wood <scottwood@freescale.com> | Fri Feb 12 17:13:42 2016 -0600 |
tree | 24c801b3e6d6cb8e0e8efa7164fd5623ea0ef469 | |
parent | e37d5a9b036ff0a7268ad50a169808b6a0a0f2e0 [diff] |
mtd: pxa3xx_nand: Correct null dereference Correct a null pointer dereference in board_nand_init(). Zeroed memory was allocated, then immediately dereferenced. The dereference is completely removed, since this pointer is later initialized in alloc_nand_resources. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Scott Wood <scottwood@freescale.com>