Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2caf62f6cae46e36b1c4a1b0f2d9ef82af89cad2
Commit:     2caf62f6cae46e36b1c4a1b0f2d9ef82af89cad2
Parent:     d66453722873e1595b7934acbdcd5cdfa6982d6c
Author:     Joe Perches <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 20 04:07:35 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 14:59:15 2008 -0800

    [NIU]: Use print_mac
    
    Signed-off-by: Joe Perches <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/niu.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index 5f6beab..2fe14b0 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -7588,12 +7588,10 @@ static void __devinit niu_assign_netdev_ops(struct 
net_device *dev)
 static void __devinit niu_device_announce(struct niu *np)
 {
        struct net_device *dev = np->dev;
-       int i;
+       DECLARE_MAC_BUF(mac);
 
-       pr_info("%s: NIU Ethernet ", dev->name);
-       for (i = 0; i < 6; i++)
-               printk("%2.2x%c", dev->dev_addr[i],
-                      i == 5 ? '\n' : ':');
+       pr_info("%s: NIU Ethernet %s\n",
+               dev->name, print_mac(mac, dev->dev_addr));
 
        pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n",
                dev->name,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to