[GIT PULL] mtd: Fixes for 5.18-rc5

From: Miquel Raynal
Date: Wed Apr 27 2022 - 06:47:18 EST


Hello Linus,

This is a fixes MTD PR for the next -rc.

Thanks,
Miquèl


The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-5.18-rc5

for you to fetch changes up to ba7542eb2dd5dfc75c457198b88986642e602065:

mtd: rawnand: qcom: fix memory corruption that causes panic (2022-04-21 09:29:07 +0200)

----------------------------------------------------------------
MTD core fix:
* Fix a possible data corruption of the 'part' field in mtd_info

Rawnand fixes:
* Fix the check on the return value of wait_for_completion_timeout
* Fix wrong ECC parameters for mt7622
* Fix a possible memory corruption that might panic in the Qcom driver

----------------------------------------------------------------
Chuanhong Guo (1):
mtd: rawnand: fix ecc parameters for mt7622

Md Sadre Alam (1):
mtd: rawnand: qcom: fix memory corruption that causes panic

Miaoqian Lin (1):
mtd: rawnand: Fix return value check of wait_for_completion_timeout

Oleksandr Ocheretnyi (1):
mtd: fix 'part' field data corruption in mtd_info

drivers/mtd/nand/raw/mtk_ecc.c | 12 ++++++++----
drivers/mtd/nand/raw/qcom_nandc.c | 24 +++++++++++++-----------
drivers/mtd/nand/raw/sh_flctl.c | 14 ++++++++------
include/linux/mtd/mtd.h | 6 ++----
4 files changed, 31 insertions(+), 25 deletions(-)