1
0
Fork 0
alistair23-linux/drivers/mtd/nand
Frieder Schrempf 40b412897c mtd: nand: Fix memory allocation in nanddev_bbt_init()
Fix the size of the buffer allocated to store the in-memory BBT.
This bug was previously hidden by a different bug, that was fixed in
commit d098093ba0 ("mtd: nand: Fix nanddev_neraseblocks()").

Fixes: 9c3736a3de ("mtd: nand: Add core infrastructure to deal with NAND devices")
Cc: <stable@vger.kernel.org>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-11-28 15:41:50 +01:00
..
onenand mtd: onenand: use mtd_device_register() where applicable 2018-07-19 23:14:12 +02:00
raw mtd: rawnand: qcom: Namespace prefix some commands 2018-11-18 08:10:47 +01:00
spi mtd: spinand: macronix: Add support for MX35LF2GE4AB 2018-07-18 09:24:12 +02:00
Kconfig mtd: nand: Add core infrastructure to support SPI NANDs 2018-07-18 09:24:10 +02:00
Makefile mtd: nand: Add core infrastructure to support SPI NANDs 2018-07-18 09:24:10 +02:00
bbt.c mtd: nand: Fix memory allocation in nanddev_bbt_init() 2018-11-28 15:41:50 +01:00
core.c mtd: nand: Fix nanddev_mtd_erase() 2018-04-22 19:59:29 +02:00