[GIT PULL] MMC fixes for v5.17-rc4

From: Ulf Hansson
Date: Mon Feb 07 2022 - 06:44:46 EST


Hi Linus,

Here's a PR with a couple of MMC fixes intended for v5.17-rc4. Details about the
highlights are as usual found in the signed tag.

Please pull this in!

Kind regards
Ulf Hansson


The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v5.17-rc1

for you to fetch changes up to bd2db32e7c3e35bd4d9b8bbff689434a50893546:

moxart: fix potential use-after-free on remove path (2022-01-31 15:36:34 +0100)

----------------------------------------------------------------
MMC core:
- Fix support for SD Power off notification

MMC host:
- moxart: Fix potential use-after-free on remove path
- sdhci-of-esdhc: Fix error path when setting dma mask
- sh_mmcif: Fix potential NULL pointer dereference

----------------------------------------------------------------
Andrey Skvortsov (1):
mmc: core: Wait for command setting 'Power Off Notification' bit to complete

Greg Kroah-Hartman (1):
moxart: fix potential use-after-free on remove path

Jiasheng Jiang (2):
mmc: sdhci-of-esdhc: Check for error num after setting mask
mmc: sh_mmcif: Check for null res pointer

drivers/mmc/core/sd.c | 8 +++++++-
drivers/mmc/host/moxart-mmc.c | 2 +-
drivers/mmc/host/sdhci-of-esdhc.c | 8 ++++++--
drivers/mmc/host/sh_mmcif.c | 3 +++
4 files changed, 17 insertions(+), 4 deletions(-)