mbox series

[0/1] mmc: sdhci: check host->cmd is null or not in sdhci_cqe_irq()

Message ID 20220831124359.2005165-1-paulliu@debian.org
Headers show
Series mmc: sdhci: check host->cmd is null or not in sdhci_cqe_irq() | expand

Message

Paul Liu Aug. 31, 2022, 12:43 p.m. UTC
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>

If we don't check host->cmd. We will get the following oops
when booting from eMMC on RockPi4.

 Unable to handle kernel read from unreadable memory at
   virtual address 0000000000000000
 Call trace:
   sdhci_cqe_irq+0x40/0x254

Ying-Chun Liu (PaulLiu) (1):
  mmc: sdhci: check host->cmd is null or not in sdhci_cqe_irq()

 drivers/mmc/host/sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)