https://github.com/torvalds/linux
Revision 40b412897ccb4b98b2cfb2a0aaabed58dd9e2086 authored by Frieder Schrempf on 27 November 2018, 07:44:52 UTC, committed by Boris Brezillon on 28 November 2018, 14:41:50 UTC
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>
1 parent dc92843
Raw File
Tip revision: 40b412897ccb4b98b2cfb2a0aaabed58dd9e2086 authored by Frieder Schrempf on 27 November 2018, 07:44:52 UTC
mtd: nand: Fix memory allocation in nanddev_bbt_init()
Tip revision: 40b4128
Kconfig
# SPDX-License-Identifier: GPL-2.0
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"

comment "Compiler: $(CC_VERSION_TEXT)"

source "scripts/Kconfig.include"

source "init/Kconfig"

source "kernel/Kconfig.freezer"

source "fs/Kconfig.binfmt"

source "mm/Kconfig"

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"

source "lib/Kconfig.debug"
back to top