diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2018-11-27 07:44:52 +0000 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-28 15:41:50 +0100 |
commit | 40b412897ccb4b98b2cfb2a0aaabed58dd9e2086 (patch) | |
tree | 61fe3310b8b7c2e96226f548c679d6a032a6bd42 /drivers/watchdog/st_lpc_wdt.c | |
parent | dc92843159a7d01e37cf68750745333e944a9e55 (diff) |
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 d098093ba06e ("mtd: nand: Fix nanddev_neraseblocks()").
Fixes: 9c3736a3de21 ("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>
Diffstat (limited to 'drivers/watchdog/st_lpc_wdt.c')
0 files changed, 0 insertions, 0 deletions