Message ID | 1372326047-28074-1-git-send-email-zonque@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
On 6/27/2013 3:10 PM, Daniel Mack wrote: > Cosmetic patch to add a newline after logging the device's MACID. > > Signed-off-by: Daniel Mack <zonque@gmail.com> > --- > drivers/net/ethernet/ti/cpsw.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c > index d1a769f..e10328d 100644 > --- a/drivers/net/ethernet/ti/cpsw.c > +++ b/drivers/net/ethernet/ti/cpsw.c > @@ -1698,10 +1698,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); Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Regards Mugunthan V N -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Mugunthan V N <mugunthanvnm@ti.com> Date: Thu, 27 Jun 2013 15:21:53 +0530 > On 6/27/2013 3:10 PM, Daniel Mack wrote: >> 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> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index d1a769f..e10328d 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -1698,10 +1698,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);
Cosmetic patch to add a newline after logging the device's MACID. Signed-off-by: Daniel Mack <zonque@gmail.com> --- drivers/net/ethernet/ti/cpsw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)