]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy: fixed: Add the missing ending newline
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:14:54 +0000 (20:14 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
The printf statement doesn't end with a newline. Add it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/phy/fixed.c

index 1d2587278f186cca844780d6852a35e26a7b2ae7..304e50655432af6a2f0427bb0a2db14d9dcf7d96 100644 (file)
@@ -36,7 +36,7 @@ static int fixedphy_config(struct phy_device *phydev)
        val = ofnode_read_u32_default(node, "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;
        }