Skip to content

Commit

Permalink
drivers: net: cpsw: add newline after MACID log
Browse files Browse the repository at this point in the history
Cosmetic patch to add a newline after logging the device's MACID.

Signed-off-by: Daniel Mack <[email protected]>
Acked-by: Mugunthan V  N <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
zonque authored and davem330 committed Jun 29, 2013
1 parent 29cc436 commit cf6122b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/ti/cpsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cf6122b

Please sign in to comment.