From ebc4dcf1625a30de23510175abe6fd0035d72cdb Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 17 Dec 2021 18:03:48 +0300 Subject: [PATCH] mmc: dw_mmc: clean up a debug message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The "0x" prefix is redundant when # flag is used. It prints "0x0x". Signed-off-by: Dan Carpenter Reviewed-by: MÃ¥rten Lindahl Link: https://lore.kernel.org/r/20211217150348.GD16611@kili Signed-off-by: Ulf Hansson --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index f2a14a4..bec4796 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -1307,7 +1307,7 @@ static void dw_mci_set_data_timeout(struct dw_mci *host, tmout |= (tmp & 0xFFFFFF) << 8; mci_writel(host, TMOUT, tmout); - dev_dbg(host->dev, "timeout_ns: %u => TMOUT[31:8]: 0x%#08x", + dev_dbg(host->dev, "timeout_ns: %u => TMOUT[31:8]: %#08x", timeout_ns, tmout >> 8); } -- 2.7.4