[GIT PULL] mtd: Fixes for 5.0-rc2
From: Boris Brezillon
Date: Thu Jan 10 2019 - 03:25:45 EST
Hello Linus,
Here is the MTD fixes PR for 5.0-rc2.
Regards,
Boris
The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:
Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)
are available in the Git repository at:
git://git.infradead.org/linux-mtd.git tags/mtd/fixes-for-5.0-rc2
for you to fetch changes up to 81d9bdf59092e4755fc4307c93c4589ef0fe2e0f:
mtd: rawnand: qcom: fix memory corruption that causes panic (2019-01-08 12:33:24 +0100)
----------------------------------------------------------------
MTD Fixes:
- Fix a bug introduced when exposing MTD devs as NVMEM providers and
check for add_mtd_device() return code everywhere
raw NAND fixes:
- Fix a memory corruption in the QCOM driver
----------------------------------------------------------------
Boris Brezillon (2):
mtd: Fix the check on nvmem_register() ret code
mtd: Check add_mtd_device() ret code
Christian Lamparter (1):
mtd: rawnand: qcom: fix memory corruption that causes panic
drivers/mtd/mtdcore.c | 2 +-
drivers/mtd/mtdcore.h | 2 +-
drivers/mtd/mtdpart.c | 36 +++++++++++++++++++++++++++++++-----
drivers/mtd/nand/raw/qcom_nandc.c | 20 ++++++++++----------
4 files changed, 43 insertions(+), 17 deletions(-)