Commit aaa09ee7 authored by hartleys's avatar hartleys Committed by David S. Miller

drivers/atm/idt77252.c: use %pM to show MAC address

Use the %pM kernel extension to display the MAC address.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce7194d8
...@@ -3557,10 +3557,7 @@ init_card(struct atm_dev *dev) ...@@ -3557,10 +3557,7 @@ init_card(struct atm_dev *dev)
if (tmp) { if (tmp) {
memcpy(card->atmdev->esi, tmp->dev_addr, 6); memcpy(card->atmdev->esi, tmp->dev_addr, 6);
printk("%s: ESI %02x:%02x:%02x:%02x:%02x:%02x\n", printk("%s: ESI %pM\n", card->name, card->atmdev->esi);
card->name, card->atmdev->esi[0], card->atmdev->esi[1],
card->atmdev->esi[2], card->atmdev->esi[3],
card->atmdev->esi[4], card->atmdev->esi[5]);
} }
/* /*
* XXX: </hack> * XXX: </hack>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment