summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdpart.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-01-06 17:05:36 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-01-06 15:48:59 +0000
commit52d039fdaa78c5a9f9bc2940ad58d7ed76b8336d (patch)
tree7cd507681b1e2de763ddbbb5591a147a9ceb5391 /drivers/mtd/mtdpart.c
parenta121f643993474548fe98144514c50dd4f3dbe76 (diff)
mtd: pxa3xx_nand: NULL dereference in pxa3xx_nand_probe
"info->cmdset" gets dereferenced in __readid() so it needs to be initialized earlier in the function. This bug was introduced in 18c81b1828f8 "mtd: pxa3xx_nand: remove the flash info in driver structure". Cc: stable@kernel.org [2.6.37+] Reported-and-tested-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
0 files changed, 0 insertions, 0 deletions