mmc: dw_mmc: clean up a debug message
PATCH 1/1 mmc: dw_mmc: clean up a debug message
The "0x" prefix is redundant when # flag is used. It prints "0x0x".
Signed-off-by Dan Carpenter <[email protected]>
--- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/dw_mmc.c +1 -1
@@ -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 ); }
Signature · 1 line
2.20.1
Quoted 23 lines · Dan Carpenter
The "0x" prefix is redundant when # flag is used. It prints "0x0x".
Signed-off-by Dan Carpenter <[email protected]>--- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/dw_mmc.c +1
-1@@ -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 ); }Signature · 1 line
2.20.1
Reviewed-by Mårten Lindahl <[email protected]>
Kind regards
Mårten
Quoted 4 lines · Dan Carpenter
The "0x" prefix is redundant when # flag is used. It prints "0x0x".
Signed-off-by Dan Carpenter <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
Quoted 20 lines
--- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/dw_mmc.c +1
-2@@ -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.20.1