diff options
author | hartleys <hartleys@visionengravers.com> | 2010-01-05 01:24:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 04:13:56 -0500 |
commit | aaa09ee7287d31f57f4dc8b4acca5cd59c1595f5 (patch) | |
tree | 663569550cd73e40fb5e5ffbfd92e6d3189a296a /drivers/atm | |
parent | ce7194d889996fb8f724148bc85a0c2c79da7b8e (diff) |
drivers/atm/idt77252.c: use %pM to show MAC address
Use the %pM kernel extension to display the MAC address.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/idt77252.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index e33ae0025b1..01f36c08cb5 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -3557,10 +3557,7 @@ init_card(struct atm_dev *dev) | |||
3557 | if (tmp) { | 3557 | if (tmp) { |
3558 | memcpy(card->atmdev->esi, tmp->dev_addr, 6); | 3558 | memcpy(card->atmdev->esi, tmp->dev_addr, 6); |
3559 | 3559 | ||
3560 | printk("%s: ESI %02x:%02x:%02x:%02x:%02x:%02x\n", | 3560 | printk("%s: ESI %pM\n", card->name, card->atmdev->esi); |
3561 | card->name, card->atmdev->esi[0], card->atmdev->esi[1], | ||
3562 | card->atmdev->esi[2], card->atmdev->esi[3], | ||
3563 | card->atmdev->esi[4], card->atmdev->esi[5]); | ||
3564 | } | 3561 | } |
3565 | /* | 3562 | /* |
3566 | * XXX: </hack> | 3563 | * XXX: </hack> |