[PATCH 2/2] mmc: mediatek: do not hide address in msdc_request_timeout()
From: Frank Lee
Date: Fri Jun 05 2020 - 08:55:52 EST
From: Yangtao Li <tiny.windzz@xxxxxxxxx>
Using %px to show the actual address in msdc_request_timeout()
to help us to debug issue.
Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
Signed-off-by: Frank Lee <frank@xxxxxxxxxxxxxxxxx>
---
drivers/mmc/host/mtk-sd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 39e7fc54c438..28b4a136fc72 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -1411,7 +1411,7 @@ static void msdc_request_timeout(struct work_struct *work)
/* simulate HW timeout status */
dev_err(host->dev, "%s: aborting cmd/data/mrq\n", __func__);
if (host->mrq) {
- dev_err(host->dev, "%s: aborting mrq=%p cmd=%d\n", __func__,
+ dev_err(host->dev, "%s: aborting mrq=%px cmd=%d\n", __func__,
host->mrq, host->mrq->cmd->opcode);
if (host->cmd) {
dev_err(host->dev, "%s: aborting cmd=%d\n",
--
2.24.0