[GIT PULL] mtd: Fixes for 4.20-rc5

From: Boris Brezillon
Date: Fri Nov 30 2018 - 04:58:44 EST

Hello Linus,

Here is the MTD fixes PR for 4.20-rc5.



The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436:

Linux 4.20-rc4 (2018-11-25 14:19:31 -0800)

are available in the Git repository at:

git://git.infradead.org/linux-mtd.git tags/mtd/fixes-for-4.20-rc5

for you to fetch changes up to 40b412897ccb4b98b2cfb2a0aaabed58dd9e2086:

mtd: nand: Fix memory allocation in nanddev_bbt_init() (2018-11-28 15:41:50 +0100)

NAND fixes:
- Fix BBT cache allocation done in nanddev_bbt_init()

SPI NOR fixes:
- Fix the erase type selection logic

Frieder Schrempf (1):
mtd: nand: Fix memory allocation in nanddev_bbt_init()

Tudor Ambarus (1):
mtd: spi-nor: fix erase_type array to indicate current map conf

drivers/mtd/nand/bbt.c | 3 ++-
drivers/mtd/spi-nor/spi-nor.c | 31 +++++++++++++++++++++++++++++--
2 files changed, 31 insertions(+), 3 deletions(-)