summaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorFrieder Schrempf <frieder.schrempf@kontron.de>2018-11-27 07:44:52 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-08 12:59:06 +0100
commit86e42924160397148957ac80a588fe45fafcac6a (patch)
tree0ee1ca410dcecd2ec38419f0c885b8e981b471e5 /kernel/trace
parentac8edc62e8134aac60a0370ca1442f6e29a1feb9 (diff)
mtd: nand: Fix memory allocation in nanddev_bbt_init()
commit 40b412897ccb4b98b2cfb2a0aaabed58dd9e2086 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions