[PATCH 08/15] mmc: bcm2835: Don't unveil the data pointer

Stefan Wahren stefan.wahren at i2se.com
Tue Feb 7 12:45:47 PST 2017


Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index 64e308c..853fdcd 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -918,8 +918,7 @@ static bool bcm2835_check_cmd_error(struct bcm2835_host *host, u32 intmask)
 	if (!host->cmd)
 		return true;
 
-	dev_err(dev, "sdhost_busy_irq: intmask %x, data %p\n",
-		intmask, host->mrq->data);
+	dev_err(dev, "sdhost_busy_irq: intmask %x\n", intmask);
 	if (intmask & SDHSTS_CRC7_ERROR) {
 		host->cmd->error = -EILSEQ;
 	} else if (intmask & (SDHSTS_CRC16_ERROR |
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list