diff options
| author | Dan Carpenter <[email protected]> | 2011-01-06 14:05:36 +0000 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2011-01-06 15:48:59 +0000 |
| commit | 52d039fdaa78c5a9f9bc2940ad58d7ed76b8336d (patch) | |
| tree | 7cd507681b1e2de763ddbbb5591a147a9ceb5391 /fs/xfs/support/debug.c | |
| parent | UBI: use mtd->writebufsize to set minimal I/O unit size (diff) | |
| download | kernel-52d039fdaa78c5a9f9bc2940ad58d7ed76b8336d.tar.gz kernel-52d039fdaa78c5a9f9bc2940ad58d7ed76b8336d.zip | |
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: [email protected] [2.6.37+]
Reported-and-tested-by: Sven Neumann <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'fs/xfs/support/debug.c')
0 files changed, 0 insertions, 0 deletions
