From c96c938425e2372ae03187060f589ea6a8503090 Mon Sep 17 00:00:00 2001 From: Vijay Viswanath Date: Mon, 11 Dec 2017 10:50:29 +0530 Subject: [PATCH] mmc: cmdq-hci: Change unnecessary pr_err logs to pr_debug Now that CMDQ device and driver are stable, Change unnecessary pr_err logs to pr_debug. Also use %pK instead of %p while printing addresses to avoid leaking of kernel addresses. Change-Id: I95683ffe0410daef86dd9a376f5769d8f40ae990 Signed-off-by: Vijay Viswanath --- drivers/mmc/host/cmdq_hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/cmdq_hci.c b/drivers/mmc/host/cmdq_hci.c index 7bf519e100fb..703b695542e6 100644 --- a/drivers/mmc/host/cmdq_hci.c +++ b/drivers/mmc/host/cmdq_hci.c @@ -286,7 +286,7 @@ static int cmdq_host_alloc_tdl(struct cmdq_host *cq_host) if (!cq_host->desc_base || !cq_host->trans_desc_base) return -ENOMEM; - pr_info("desc-base: 0x%p trans-base: 0x%p\n desc_dma 0x%llx trans_dma: 0x%llx\n", + pr_debug("desc-base: 0x%pK trans-base: 0x%pK\n desc_dma 0x%llx trans_dma: 0x%llx\n", cq_host->desc_base, cq_host->trans_desc_base, (unsigned long long)cq_host->desc_dma_base, (unsigned long long) cq_host->trans_desc_dma_base);