Commit cf6122be authored by Daniel Mack's avatar Daniel Mack Committed by David S. Miller

drivers: net: cpsw: add newline after MACID log

Cosmetic patch to add a newline after logging the device's MACID.
Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Acked-by: default avatarMugunthan V  N <mugunthanvnm@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 29cc436c
...@@ -1700,10 +1700,10 @@ static int cpsw_probe(struct platform_device *pdev) ...@@ -1700,10 +1700,10 @@ static int cpsw_probe(struct platform_device *pdev)
if (is_valid_ether_addr(data->slave_data[0].mac_addr)) { if (is_valid_ether_addr(data->slave_data[0].mac_addr)) {
memcpy(priv->mac_addr, data->slave_data[0].mac_addr, ETH_ALEN); memcpy(priv->mac_addr, data->slave_data[0].mac_addr, ETH_ALEN);
pr_info("Detected MACID = %pM", priv->mac_addr); pr_info("Detected MACID = %pM\n", priv->mac_addr);
} else { } else {
eth_random_addr(priv->mac_addr); eth_random_addr(priv->mac_addr);
pr_info("Random MACID = %pM", priv->mac_addr); pr_info("Random MACID = %pM\n", priv->mac_addr);
} }
memcpy(ndev->dev_addr, priv->mac_addr, ETH_ALEN); memcpy(ndev->dev_addr, priv->mac_addr, ETH_ALEN);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment