[PATCH 12/20] net: phy: fixed: Add the missing ending newline

Bin Meng bmeng.cn at gmail.com
Tue Mar 2 16:34:43 CET 2021


The printf statement doesn't end with a newline. Add it.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 drivers/net/phy/fixed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c
index 2a41baf8d7..8fc9c66684 100644
--- a/drivers/net/phy/fixed.c
+++ b/drivers/net/phy/fixed.c
@@ -26,7 +26,7 @@ static int fixedphy_probe(struct phy_device *phydev)
 					   ofnode, 0, "speed", 0);
 	if (val != SPEED_10 && val != SPEED_100 && val != SPEED_1000 &&
 	    val != SPEED_2500 && val != SPEED_10000) {
-		printf("ERROR: no/invalid speed given in fixed-link node!");
+		printf("ERROR: no/invalid speed given in fixed-link node!\n");
 		return -EINVAL;
 	}
 
-- 
2.25.1



More information about the U-Boot mailing list