]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drivers: net: cpsw: add newline after MACID log
authorDaniel Mack <zonque@gmail.com>
Thu, 27 Jun 2013 09:40:47 +0000 (11:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2013 04:39:01 +0000 (21:39 -0700)
Cosmetic patch to add a newline after logging the device's MACID.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c

index 101b037a7dcea6b74c13022578611838c49df421..2c3657adc7cb5fd2305fa623466f0de17b6519d2 100644 (file)
@@ -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);