git: 7cbdf8a05db7 - main - dwmmc: Add \n to a debug printf

Emmanuel Vadot manu at FreeBSD.org
Tue Apr 27 17:01:38 UTC 2021


The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=7cbdf8a05db7da9c78e8ac74542febc646d24abd

commit 7cbdf8a05db7da9c78e8ac74542febc646d24abd
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-04-22 19:41:56 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-04-27 17:01:09 +0000

    dwmmc: Add \n to a debug printf
---
 sys/dev/mmc/host/dwmmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index 6b635f55bd45..f28d842bd801 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -858,7 +858,7 @@ dwmmc_setup_bus(struct dwmmc_softc *sc, int freq)
 	tout = 1000;
 	do {
 		if (tout-- < 0) {
-			device_printf(sc->dev, "Failed to update clk");
+			device_printf(sc->dev, "Failed to update clk\n");
 			return (1);
 		}
 	} while (READ4(sc, SDMMC_CMD) & SDMMC_CMD_START);


More information about the dev-commits-src-all mailing list