Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1700,10 +1700,10 @@ static int cpsw_probe(struct platform_device *pdev)

	if (is_valid_ether_addr(data->slave_data[0].mac_addr)) {
		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 {
		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);